mwifiex: clean up scan state on error
authorBing Zhao <bzhao@marvell.com>
Sat, 20 Oct 2012 02:02:00 +0000 (19:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Oct 2012 17:18:09 +0000 (13:18 -0400)
commit6fcf2b10533bf51c67f0286ddba16e958e7ed972
tree3083933bb30176bbfd8bc0343d15bae662e114dd
parentdcd5c79c9a3a7ac08bdce089fec810677ce6efe8
mwifiex: clean up scan state on error

De-reference and deallocate scan state on failure.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Reviewed-by: Ryan Cairns <rtc@chromium.org>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c