aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00dev.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-07-08 17:20:31 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-08 17:20:31 -0400
commit72948cdcbbcb5cd6b85c0a724a228b735d198212 (patch)
tree96b61b260afc51eb12768566228bf29756b264ad /drivers/net/wireless/rt2x00/rt2x00dev.c
parent9f12fbe603f7ae346b2b46008e325f0c9a68e55d (diff)
parentf473832fece16611520bf54ad52b16c3f6db0a94 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next
John W. Linville says: ==================== pull request: wireless-next 2014-07-03 Please pull this first batch of wireless updates intended for the 3.17 stream... For the mac80211 bits, Johannes says: "The biggest thing here is probably Arik's TDLS rework, beyond that we have smaller improvements and features like David's scanning IE thing, Luca's queue work, some CSA work, etc. Also your PID rate control removal, of course." For the iwlwifi bits, Emmanuel says: "I have here a whole bunch of various things. Andy contributes better debug prints for dvm specific flows and a module parameter to completely disable power save for dvm. Andrei is sharing the premises of his work on CSA - more to come. Eran and Liad keep on working on the new devices. I have the regular amount of BT Coex stuff and I continue to work on the firmware error report system adding more debug capabilities. More to come on that subject too." On top of that, there are some cleanups to the new rsi driver, some continuing improvements to the rtl818x drivers, and the usual bundles of updates to ath9k, b43, mwifiex, wil6210, and a few other bits here and there. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00dev.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index 4fa43a2eeb73..9967a1d9f0ec 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -141,8 +141,11 @@ static void rt2x00lib_intf_scheduled_iter(void *data, u8 *mac,
141 if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) 141 if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags))
142 return; 142 return;
143 143
144 if (test_and_clear_bit(DELAYED_UPDATE_BEACON, &intf->delayed_flags)) 144 if (test_and_clear_bit(DELAYED_UPDATE_BEACON, &intf->delayed_flags)) {
145 mutex_lock(&intf->beacon_skb_mutex);
145 rt2x00queue_update_beacon(rt2x00dev, vif); 146 rt2x00queue_update_beacon(rt2x00dev, vif);
147 mutex_unlock(&intf->beacon_skb_mutex);
148 }
146} 149}
147 150
148static void rt2x00lib_intf_scheduled(struct work_struct *work) 151static void rt2x00lib_intf_scheduled(struct work_struct *work)
@@ -216,7 +219,7 @@ static void rt2x00lib_beaconupdate_iter(void *data, u8 *mac,
216 * never be called for USB devices. 219 * never be called for USB devices.
217 */ 220 */
218 WARN_ON(rt2x00_is_usb(rt2x00dev)); 221 WARN_ON(rt2x00_is_usb(rt2x00dev));
219 rt2x00queue_update_beacon_locked(rt2x00dev, vif); 222 rt2x00queue_update_beacon(rt2x00dev, vif);
220} 223}
221 224
222void rt2x00lib_beacondone(struct rt2x00_dev *rt2x00dev) 225void rt2x00lib_beacondone(struct rt2x00_dev *rt2x00dev)
@@ -1470,8 +1473,7 @@ void rt2x00lib_remove_dev(struct rt2x00_dev *rt2x00dev)
1470 /* 1473 /*
1471 * Free the driver data. 1474 * Free the driver data.
1472 */ 1475 */
1473 if (rt2x00dev->drv_data) 1476 kfree(rt2x00dev->drv_data);
1474 kfree(rt2x00dev->drv_data);
1475} 1477}
1476EXPORT_SYMBOL_GPL(rt2x00lib_remove_dev); 1478EXPORT_SYMBOL_GPL(rt2x00lib_remove_dev);
1477 1479