From d7affd9bfb3611044e33f7a963340396487762be Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Wed, 7 Oct 2009 16:03:31 +0000 Subject: [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 --- package/libertas/src/compat.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 package/libertas/src/compat.h (limited to 'package/libertas/src/compat.h') 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 -#include - -#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 -- cgit v1.2.3