1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-29 12:33:22 +02:00
openwrt-xburst/package/mac80211/patches/120-linux-2.6.30-compat.patch
hauke 5608c64b51 [mac80211] remove pcmcia and sdio
This fixes #6701

Remove the pcmcia and sdio interface from b43 driver to not depend on these modules.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 15:41:55 +00:00

15 lines
351 B
Diff

--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -5662,7 +5662,11 @@ int nl80211_send_action(struct cfg80211_
return err;
}
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
err = genlmsg_unicast(wiphy_net(&rdev->wiphy), msg, nlpid);
+#else
+ err = genlmsg_unicast(msg, nlpid);
+#endif
if (err < 0)
return err;
return 0;