diff options
author | Johannes Berg | 2009-04-15 21:33:15 +0200 |
---|---|---|
committer | John W. Linville | 2009-04-17 21:27:13 +0200 |
commit | 7181d4673710888b6d7084b37b9d77ed4f4e41b2 (patch) | |
tree | ba8c94b02cf57d01256d95f28f3f4fd628cf4c53 /net/wireless/scan.c | |
parent | ar9170: fix struct layout on arm (diff) | |
download | kernel-qcow2-linux-7181d4673710888b6d7084b37b9d77ed4f4e41b2.tar.gz kernel-qcow2-linux-7181d4673710888b6d7084b37b9d77ed4f4e41b2.tar.xz kernel-qcow2-linux-7181d4673710888b6d7084b37b9d77ed4f4e41b2.zip |
mac80211: avoid crashing when no scan sdata
Using the scan_sdata variable here is terribly wrong,
if there has never been a scan then we fail. However,
we need a bandaid...
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: stable@kernel.org [2.6.29]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/scan.c')
0 files changed, 0 insertions, 0 deletions