]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit948185285b86bcbabd68b4eba703cdccbafd870a
tree39f27dec66a1f31ff55da27cf1880bd02ef92a5c
parentb62d14fb7d59d94e82db870160628e7c1bd108bb
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