This fixes this compilation warning:
CC [M] /home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.o
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c: In function ‘ieee80211_stop’:
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:392: warning: statement with no effect
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:397: warning: statement with no effect
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
/*
* The net_device has a spin_lock on newer kernels, on older kernels we're out of luck
*/
-#define netif_addr_lock_bh
-#define netif_addr_unlock_bh
+#define netif_addr_lock_bh(dev)
+#define netif_addr_unlock_bh(dev)
/*
* To port this properly we'd have to port warn_slowpath_null(),