aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorEliad Peller <[email protected]>2012-07-02 14:42:03 +0300
committerJohn W. Linville <[email protected]>2012-07-09 15:01:00 -0400
commit10a9109f2705fdc3caa94d768b2559587a9a050c (patch)
tree53d4a010c1bebc88af00c7f17b188c6150907bd2 /lib/dynamic_debug.c
parent147f20e316f3949f3f5ffe6c8658e9fe1c6ceb23 (diff)
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: [email protected] [3.4+] Signed-off-by: Eliad Peller <[email protected]> Reviewed-by: Johannes Berg <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions