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:
Helmut Schaa 2010-12-27 15:07:35 +01:00 committed by John W. Linville
parent 48103d25c4
commit 5af3c1d195
1 changed files with 1 additions and 4 deletions

View File

@ -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,