mac80211: hold sta->lock across plink switch statements
authorBob Copeland <me@bobcopeland.com>
Tue, 5 Nov 2013 19:16:51 +0000 (11:16 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:49:52 +0000 (20:49 +0100)
commit0f5ffd24fb732fb4d653a8ee97faea767a0e7172
tree39f27dec66a1f31ff55da27cf1880bd02ef92a5c
parent4efec45134d82fa73826cc24d41274beb5097d64
mac80211: hold sta->lock across plink switch statements

Rather than unlock at the end of each case, do it once after
all is said and done.

Signed-off-by: Bob Copeland <bob@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c