mac80211: proper IBSS locking
authorJohannes Berg <johannes.berg@intel.com>
Wed, 21 Jul 2010 09:30:27 +0000 (11:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 Jul 2010 19:13:42 +0000 (15:13 -0400)
commit7a17a33c0da37f8d24222c967550d19dabf13617
tree14e736fd4add85528d24c62b0b9268dde0d87eab
parentbc05d19f4b884b1dbbce48912710ae3f972c89d2
mac80211: proper IBSS locking

IBSS has never had locking, instead relying on some
memory barriers etc. That's hard to get right, and
I think we had it wrong too until the previous patch.
Since this is not performance sensitive, it doesn't
make sense to have the maintenance overhead of that,
so add proper locking.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h