iwlagn-$(CONFIG_IWL5000) += iwl-5000.o
iwlagn-$(CONFIG_IWL5000) += iwl-6000.o
iwlagn-$(CONFIG_IWL5000) += iwl-1000.o
---- a/drivers/net/wireless/iwlwifi/iwl-agn.c 2010-01-11 08:47:03.000000000 -0800
-+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c 2010-01-11 08:54:05.000000000 -0800
-@@ -3767,10 +3767,10 @@
+--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
++++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
+@@ -3767,10 +3767,10 @@ static void __devexit iwl_pci_remove(str
/* Hardware specific file defines the PCI IDs table for that hardware module */
static DEFINE_PCI_DEVICE_TABLE(iwl_hw_card_ids) = {
In kernel < 2.6.32 libipw also exports ieee80211_rx.
To avoid conflicts with the other export we rename our.
---- a/net/mac80211/rx.c 2010-01-11 09:32:05.000000000 -0800
-+++ b/net/mac80211/rx.c 2010-01-11 09:32:05.000000000 -0800
-@@ -2476,7 +2476,12 @@
+--- a/net/mac80211/rx.c
++++ b/net/mac80211/rx.c
+@@ -2476,7 +2476,12 @@ void ieee80211_rx(struct ieee80211_hw *h
drop:
kfree_skb(skb);
}
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---- a/net/mac80211/iface.c 2010-01-11 09:21:58.000000000 -0800
-+++ b/net/mac80211/iface.c 2010-01-11 09:21:58.000000000 -0800
-@@ -938,6 +938,7 @@
+--- a/net/mac80211/iface.c
++++ b/net/mac80211/iface.c
+@@ -943,6 +943,7 @@ void ieee80211_if_remove(struct ieee8021
* Remove all interfaces, may only be called at hardware unregistration
* time because it doesn't do RCU-safe list removals.
*/
void ieee80211_remove_interfaces(struct ieee80211_local *local)
{
struct ieee80211_sub_if_data *sdata, *tmp;
-@@ -954,6 +955,22 @@
+@@ -959,6 +960,22 @@ void ieee80211_remove_interfaces(struct
mutex_unlock(&local->iflist_mtx);
unregister_netdevice_many(&unreg_list);
}