From: Johannes Berg Date: Wed, 23 Dec 2009 14:33:35 +0000 (+0100) Subject: cfg80211: fix error path in cfg80211_wext_siwscan X-Git-Tag: v2.6.33-rc3~44^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65486c8b30498dd274eea2c542696f22b63fe5b8;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg Acked-by: Dan Carpenter Signed-off-by: John W. Linville --- Reading git-diff-tree failed