diff options
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | 2012-11-13 18:43:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 12:59:14 -0800 |
commit | 34ef0d5705afa428c02781a5c12f3178caa12559 (patch) | |
tree | 40c4d6fcd181f3018b0c4c489488307282c7019a /net/mac80211/rx.c | |
parent | beb93b17f27dee8a85db7bf0d882b59cdff4b2a0 (diff) | |
download | kernel_samsung_aries-34ef0d5705afa428c02781a5c12f3178caa12559.zip kernel_samsung_aries-34ef0d5705afa428c02781a5c12f3178caa12559.tar.gz kernel_samsung_aries-34ef0d5705afa428c02781a5c12f3178caa12559.tar.bz2 |
mac80211: deinitialize ibss-internals after emptiness check
commit b78a4932f5fb11fadf41e69c606a33fa6787574c upstream.
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")
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Cc: Ignacy Gawedzki <i@lri.fr>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/mac80211/rx.c')
0 files changed, 0 insertions, 0 deletions