]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77907f85733f78d52a5b665dcba221e0617c7daa
tree14e736fd4add85528d24c62b0b9268dde0d87eab
parent13e5e2610c740612693dd666b20a67f74fec2ae3
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