aboutsummaryrefslogtreecommitdiffstats
path: root/package/libertas/src/compat.h
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-10-07 16:03:31 +0000
committerNicolas Thill <nico@openwrt.org>2009-10-07 16:03:31 +0000
commitb795affe0662c01f29b91bfacc17d8ab4978c999 (patch)
treeccdfb0cf3245a9114c1252ae19c71065c70d21a2 /package/libertas/src/compat.h
parent7a7a5627cd47245ad50d2868bb4df72f28405001 (diff)
downloadupstream-b795affe0662c01f29b91bfacc17d8ab4978c999.tar.gz
upstream-b795affe0662c01f29b91bfacc17d8ab4978c999.tar.bz2
upstream-b795affe0662c01f29b91bfacc17d8ab4978c999.zip
libertas: use driver from compat-wireless instead of our own (deprecated) one
SVN-Revision: 17982
Diffstat (limited to 'package/libertas/src/compat.h')
-rw-r--r--package/libertas/src/compat.h17
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