mac80211: fix race in TKIP MIC test debugfs file
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 Nov 2012 19:27:57 +0000 (20:27 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 7 Nov 2012 17:01:39 +0000 (18:01 +0100)
Accessing sdata->vif.bss_conf.bssid without any
protection here is racy, use u.mgd.associated
instead and lock the correct mutex for it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found