mac80211: fix update_tkip_key() documentation about the context
Johannes noticed that I had incorrectly documented the context of update_tkip_key() driver operation. It must be atomic because all RX code is run inside rcu critical section. Reported-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Kalle Valo <kalle.valo@iki.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
96869a3939
commit
eb807fb238
@ -144,8 +144,6 @@ static inline void drv_update_tkip_key(struct ieee80211_local *local,
|
||||
{
|
||||
struct ieee80211_sta *ista = NULL;
|
||||
|
||||
might_sleep();
|
||||
|
||||
if (sta)
|
||||
ista = &sta->sta;
|
||||
|
||||
|
Reference in New Issue
Block a user