linux/drivers/net/wireless/ath/wil6210
Vladimir Kondratiev 8bf6adb988 wil6210: fix memory leak in the AP flow
When switching between STA and AP modes, memory allocated for Rx vring leaks
This is because start_ap() allocates Rx vring but stop_ap() do not free it.
Logically, Rx vring is not valid (HW can't use it anymore), so free it in reset()
Also, check double init for Rx vring and bail out with -EINVAL

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-03-17 13:44:18 -04:00
..
cfg80211.c wil6210: reduce printing 2014-03-17 13:44:17 -04:00
debug.c wil6210: trace support 2013-05-22 15:08:27 -04:00
debugfs.c wil6210: add scatter-gather support 2014-03-17 13:44:16 -04:00
interrupt.c wil6210: fix for HW bug in interrupt setup logic 2014-03-17 13:44:17 -04:00
Kconfig wil6210: fix name of tracing config option 2013-06-12 15:06:52 -04:00
main.c wil6210: fix memory leak in the AP flow 2014-03-17 13:44:18 -04:00
Makefile wil6210: Block ACK 2014-02-28 14:33:30 -05:00
netdev.c wil6210: add scatter-gather support 2014-03-17 13:44:16 -04:00
pcie_bus.c wil6210: fix for HW bug in interrupt setup logic 2014-03-17 13:44:17 -04:00
rx_reorder.c wil6210: Block ACK 2014-02-28 14:33:30 -05: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 memory leak in the AP flow 2014-03-17 13:44:18 -04:00
txrx.h wil6210: Block ACK 2014-02-28 14:33:30 -05:00
wil6210.h wil6210: reset on power good 2014-03-17 13:44:17 -04:00
wmi.c wil6210: Block data till "data port open" reported 2014-03-17 13:44:16 -04:00
wmi.h wil6210: sync with new firmware 2013-03-13 14:26:21 -04:00