mac80211: refactor drop connection/unlock in CSA processing
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Mar 2015 06:53:25 +0000 (08:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Mar 2015 08:31:02 +0000 (09:31 +0100)
commitf3b0bbb35dac575c571dadeace59bd23ce797d31
tree7112458ced74882128af0d5dce1f9bd11b655b09
parentdc5a1ad7bd830b7789ba2950342bdecfe4787945
mac80211: refactor drop connection/unlock in CSA processing

The schedule_work()/mutex unlocking code is duplicated many times,
refactor that to a common place in the function.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c