rt2x00: Fix comment about removed spinlock
The comment doesn't match the code anymore. Fix that. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
48103d25c4
commit
5af3c1d195
|
@ -610,10 +610,7 @@ void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Call rt2x00_config_intf() outside of the spinlock context since
|
* Update the BSSID.
|
||||||
* the call will sleep for USB drivers. By using the ieee80211_if_conf
|
|
||||||
* values as arguments we make keep access to rt2x00_intf thread safe
|
|
||||||
* even without the lock.
|
|
||||||
*/
|
*/
|
||||||
if (changes & BSS_CHANGED_BSSID)
|
if (changes & BSS_CHANGED_BSSID)
|
||||||
rt2x00lib_config_intf(rt2x00dev, intf, vif->type, NULL,
|
rt2x00lib_config_intf(rt2x00dev, intf, vif->type, NULL,
|
||||||
|
|
Loading…
Reference in New Issue