diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-10-07 16:03:31 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-10-07 16:03:31 +0000 |
commit | d7affd9bfb3611044e33f7a963340396487762be (patch) | |
tree | f6680ee7bb34215ac6602588238e78d8a2d2c6bf /package/libertas/src/compat.h | |
parent | 889e0e68341791fcf73f3d29036cff29e1521b18 (diff) | |
download | upstream-d7affd9bfb3611044e33f7a963340396487762be.tar.gz upstream-d7affd9bfb3611044e33f7a963340396487762be.tar.bz2 upstream-d7affd9bfb3611044e33f7a963340396487762be.zip |
[package] libertas: use driver from compat-wireless instead of our own (deprecated) one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17982 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libertas/src/compat.h')
-rw-r--r-- | package/libertas/src/compat.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/package/libertas/src/compat.h b/package/libertas/src/compat.h deleted file mode 100644 index 26c636343e..0000000000 --- a/package/libertas/src/compat.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef __COMPAT_H -#define __COMPAT_H - -#include <linux/kernel.h> -#include <linux/types.h> - -#define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x" -#define DECLARE_MAC_BUF(var) char var[18] __maybe_unused - -static inline char *print_mac(char *buf, const u8 *addr) -{ - sprintf(buf, MAC_FMT, - addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]); - return buf; -} - -#endif |