diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-10-07 16:03:31 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-10-07 16:03:31 +0000 |
commit | ab969ad78e2a6ea754714b4bc18bbf511e4e48bb (patch) | |
tree | f6680ee7bb34215ac6602588238e78d8a2d2c6bf /package/libertas/src/compat.h | |
parent | 4cce3b1620d3ad13b15697efcce0f39f7cd5f51a (diff) |
[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 |