#include <net/cfg80211.h>
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -1910,7 +1910,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw
+@@ -1909,7 +1909,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw
pCap->hw_caps |= ATH9K_HW_CAP_ENHANCEDPM;
static void cfg80211_rfkill_poll(struct rfkill *rfkill, void *data)
{
-@@ -376,7 +378,9 @@ struct wiphy *wiphy_new(const struct cfg
+@@ -381,7 +383,9 @@ struct wiphy *wiphy_new(const struct cfg
rdev->wiphy.flags |= WIPHY_FLAG_PS_ON_BY_DEFAULT;
#endif
rdev->rfkill_ops.set_block = cfg80211_rfkill_set_block;
rdev->rfkill = rfkill_alloc(dev_name(&rdev->wiphy.dev),
-@@ -694,8 +698,10 @@ static int cfg80211_netdev_notifier_call
+@@ -699,8 +703,10 @@ static int cfg80211_netdev_notifier_call
mutex_lock(&rdev->devlist_mtx);
list_add_rcu(&wdev->list, &rdev->netdev_list);
rdev->devlist_generation++;
if (sysfs_create_link(&dev->dev.kobj, &rdev->wiphy.dev.kobj,
"phy80211")) {
-@@ -841,6 +847,7 @@ static struct notifier_block cfg80211_ne
+@@ -846,6 +852,7 @@ static struct notifier_block cfg80211_ne
.notifier_call = cfg80211_netdev_notifier_call,
};
static void __net_exit cfg80211_pernet_exit(struct net *net)
{
struct cfg80211_registered_device *rdev;
-@@ -858,14 +865,17 @@ static void __net_exit cfg80211_pernet_e
+@@ -863,14 +870,17 @@ static void __net_exit cfg80211_pernet_e
static struct pernet_operations cfg80211_pernet_ops = {
.exit = cfg80211_pernet_exit,
};
err = wiphy_sysfs_init();
if (err)
-@@ -900,8 +910,10 @@ out_fail_nl80211:
+@@ -905,8 +915,10 @@ out_fail_nl80211:
out_fail_notifier:
wiphy_sysfs_exit();
out_fail_sysfs:
return err;
}
subsys_initcall(cfg80211_init);
-@@ -913,7 +925,9 @@ static void __exit cfg80211_exit(void)
+@@ -918,7 +930,9 @@ static void __exit cfg80211_exit(void)
unregister_netdevice_notifier(&cfg80211_netdev_notifier);
wiphy_sysfs_exit();
regulatory_exit();
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
-@@ -366,10 +366,6 @@ struct wiphy *wiphy_new(const struct cfg
+@@ -371,10 +371,6 @@ struct wiphy *wiphy_new(const struct cfg
INIT_LIST_HEAD(&rdev->bss_list);
INIT_WORK(&rdev->scan_done_wk, __cfg80211_scan_done);
device_initialize(&rdev->wiphy.dev);
rdev->wiphy.dev.class = &ieee80211_class;
rdev->wiphy.dev.platform_data = rdev;
-@@ -712,6 +708,15 @@ static int cfg80211_netdev_notifier_call
+@@ -717,6 +713,15 @@ static int cfg80211_netdev_notifier_call
wdev->sme_state = CFG80211_SME_IDLE;
mutex_unlock(&rdev->devlist_mtx);
#ifdef CONFIG_CFG80211_WEXT
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
-@@ -655,9 +655,11 @@ static void wdev_cleanup_work(struct wor
+@@ -660,9 +660,11 @@ static void wdev_cleanup_work(struct wor
dev_put(wdev->netdev);
}
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
-@@ -2828,7 +2828,12 @@ void ieee80211_rx(struct ieee80211_hw *h
+@@ -2847,7 +2847,12 @@ void ieee80211_rx(struct ieee80211_hw *h
drop:
kfree_skb(skb);
}
return hash.low | ((u64)hash.high << 32);
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
-@@ -1713,7 +1713,11 @@ struct ieee80211_ops {
+@@ -1727,7 +1727,11 @@ struct ieee80211_ops {
struct ieee80211_bss_conf *info,
u32 changed);
u64 (*prepare_multicast)(struct ieee80211_hw *hw,
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
-@@ -698,7 +698,12 @@ struct ieee80211_local {
+@@ -723,7 +723,12 @@ struct ieee80211_local {
struct work_struct recalc_smps;
/* aggregated multicast list */
found->vif.bss_conf.beacon_int);
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
-@@ -512,7 +512,11 @@ static int ieee80211_scan_state_decision
+@@ -513,7 +513,11 @@ static int ieee80211_scan_state_decision
bad_latency = time_after(jiffies +
ieee80211_scan_get_channel_time(next_chan),
local->leave_oper_channel_time +
--- a/drivers/staging/brcm80211/Makefile
+++ b/drivers/staging/brcm80211/Makefile
-@@ -24,10 +24,10 @@
+@@ -24,10 +24,10 @@ ccflags-y := \
-DDBAND \
-DBCMDMA32 \
-DBCMNVRAMR \