linux/drivers/net/wireless/ath/wil6210
Vladimir Kondratiev 8fcfdeac97 wil6210: fix free'd memory access in wil_if_free()
In the wil_priv_deinit(), wdev->netdev is accessed, so free_netdev()
should not be called before mentioned call.

Set wdev->netdev to NULL Make sure no more attempts to use it.
It is used for debug printk if not NULL.

This fix kernel panic on module unload and in case error on probe;
if memory allocation debugging enabled.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-08-25 16:17:37 -04:00
..
cfg80211.c wil6210: fix false "scan timeout" 2014-08-25 16:17:36 -04:00
debug.c wil6210: trace support 2013-05-22 15:08:27 -04:00
debugfs.c wil6210: fix beamforming data reporting 2014-08-25 16:17:35 -04:00
interrupt.c wil6210: update copyright year 2014 2014-08-25 16:17:31 -04:00
Kconfig wil6210: fix name of tracing config option 2013-06-12 15:06:52 -04:00
main.c wil6210: wait longer for hardware reset completion 2014-08-25 16:17:33 -04:00
Makefile wil6210: Block ACK 2014-02-28 14:33:30 -05:00
netdev.c wil6210: fix free'd memory access in wil_if_free() 2014-08-25 16:17:37 -04:00
pcie_bus.c wil6210: Workaround for Sparrow with bad device id 2014-08-25 16:17:33 -04:00
rx_reorder.c wil6210: update copyright year 2014 2014-08-25 16:17:31 -04:00
trace.c wil6210: trace support 2013-05-22 15:08:27 -04:00
trace.h wil6210: Align WMI header with latest FW 2013-07-22 16:54:37 -04:00
txrx.c wil6210: fix beamforming data reporting 2014-08-25 16:17:35 -04:00
txrx.h wil6210: update copyright year 2014 2014-08-25 16:17:31 -04:00
wil6210.h wil6210: fix beamforming data reporting 2014-08-25 16:17:35 -04:00
wmi.c wil6210: Limit max number of associated stations 2014-08-25 16:17:36 -04:00
wmi.h wil6210: fix beamforming data reporting 2014-08-25 16:17:35 -04:00