diff options
author | 2012-07-02 14:42:03 +0300 | |
---|---|---|
committer | 2012-07-09 15:01:00 -0400 | |
commit | 10a9109f2705fdc3caa94d768b2559587a9a050c (patch) | |
tree | 53d4a010c1bebc88af00c7f17b188c6150907bd2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NFC: Prevent NULL deref when getting socket name (diff) | |
download | linux-dev-10a9109f2705fdc3caa94d768b2559587a9a050c.tar.xz linux-dev-10a9109f2705fdc3caa94d768b2559587a9a050c.zip |
mac80211: destroy assoc_data correctly if assoc fails
If association failed due to internal error (e.g. no
supported rates IE), we call ieee80211_destroy_assoc_data()
with assoc=true, while we actually reject the association.
This results in the BSSID not being zeroed out.
After passing assoc=false, we no longer have to call
sta_info_destroy_addr() explicitly. While on it, move
the "associated" message after the assoc_success check.
Cc: stable@vger.kernel.org [3.4+]
Signed-off-by: Eliad Peller <eliad@wizery.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions