Staging: vt6655: add missing free_netdev() on error in hostap_enable_hostapd()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 23 May 2013 09:28:05 +0000 (17:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:46:26 +0000 (20:46 +0900)
commit3147cf59d144d1d5fa0d7d5574a7d514ae8efe16
tree34b3f534c32c41367167d07f44a2bd5d719858bb
parentaba12e3fccc79b8553a28a696e20859e3bfb1519
Staging: vt6655: add missing free_netdev() on error in hostap_enable_hostapd()

Add the missing free_netdev() before return from function
hostap_enable_hostapd() in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/hostap.c