diff options
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | 2012-11-13 18:43:03 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-13 21:35:07 +0100 |
commit | b78a4932f5fb11fadf41e69c606a33fa6787574c (patch) | |
tree | 418a3e8d760ccee586210034b1f111e6c3b43d0d /sound/atmel/ac97c.h | |
parent | 43c771a1963ab461a2f194e3c97fded1d5fe262f (diff) | |
download | blackbird-op-linux-b78a4932f5fb11fadf41e69c606a33fa6787574c.tar.gz blackbird-op-linux-b78a4932f5fb11fadf41e69c606a33fa6787574c.zip |
mac80211: deinitialize ibss-internals after emptiness check
The check whether the IBSS is active and can be removed should be
performed before deinitializing the fields used for the check/search.
Otherwise, the configured BSS will not be found and removed properly.
To make it more clear for the future, rename sdata->u.ibss to the
local pointer ifibss which is used within the checks.
This behaviour was introduced by
f3209bea110cade12e2b133da8b8499689cb0e2e
("mac80211: fix IBSS teardown race")
Cc: stable@vger.kernel.org
Cc: Ignacy Gawedzki <i@lri.fr>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'sound/atmel/ac97c.h')
0 files changed, 0 insertions, 0 deletions