Johannes Berg 65486c8b30 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>
2009-12-28 16:19:58 -05:00
..
2009-08-14 09:13:51 -04:00
2009-11-19 11:08:50 -05:00
2009-11-28 15:05:05 -05:00
2009-07-10 15:02:32 -04:00
2009-10-07 16:39:43 -04:00
2009-10-07 16:39:43 -04:00
2009-09-28 16:55:04 -04:00
2009-10-07 16:39:43 -04:00