summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-12-23 15:33:35 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-12-28 16:19:58 -0500
commit65486c8b30498dd274eea2c542696f22b63fe5b8 (patch)
tree4bcbeb24ce1655c275f2e1780cacefaf2b306781 /drivers/net/wireless
parentbefabac2d8e4925b97c5eebc78ecc4b2079fd9dd (diff)
downloadblackbird-op-linux-65486c8b30498dd274eea2c542696f22b63fe5b8.tar.gz
blackbird-op-linux-65486c8b30498dd274eea2c542696f22b63fe5b8.zip
cfg80211: fix error path in cfg80211_wext_siwscan
If there's an invalid channel or SSID, the code leaks the scan request. Always free the scan request, unless it was successfully given to the driver. Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Dan Carpenter <error27@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud