diff options
author | Kalle Valo <kalle.valo@iki.fi> | 2010-01-24 13:55:12 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-25 22:36:28 +0100 |
commit | eb807fb23878bc319e029ed8ce3d835d239723a5 (patch) | |
tree | 0caf36c7c128825292c3c23f04c6e5eb0f74cafb /net/mac80211 | |
parent | b43: Workaround circular locking in hw-tkip key update callback (diff) | |
download | linux-eb807fb23878bc319e029ed8ce3d835d239723a5.tar.xz linux-eb807fb23878bc319e029ed8ce3d835d239723a5.zip |
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>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/driver-ops.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index 40c6e9a89864..6c31f38ac7f5 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h @@ -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; |