mwifiex: clean up scan state on error
authorBing Zhao <[email protected]>
Sat, 20 Oct 2012 02:02:00 +0000 (19:02 -0700)
committerJohn W. Linville <[email protected]>
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 <[email protected]>
Signed-off-by: Paul Stewart <[email protected]>
Tested-by: Paul Stewart <[email protected]>
Reviewed-by: Ryan Cairns <[email protected]>
Signed-off-by: Amitkumar Karwar <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/mwifiex/cfg80211.c