mac80211: lock sdata in ieee80211_csa_connection_drop_work()
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 11 Dec 2013 18:39:46 +0000 (20:39 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 12:38:49 +0000 (13:38 +0100)
commit6f07d216f5662def442cb8034f45119b5a33f6ff
tree45e1eda25e453f6ac5f96469dfbaf19c4126b616
parent70dabeb74ee3bff71b65f47546dafb83edbb06b9
mac80211: lock sdata in ieee80211_csa_connection_drop_work()

We call ieee80211_ibss_disconnect(), which requires sdata to be
locked, so lock the sdata during ieee80211_csa_connection_drop_work().

Cc: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c