summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2014-03-17 17:34:17 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-03-17 21:44:18 +0400
commit8bf6adb988c6843f0e58d2b210526cf947a8a746 (patch)
tree911326c6ad96a61015c909dc7063847e3def2f4a /scripts/gdb/linux/utils.py
parentfa4a18e73b21402ed00cfb852d94d169994c5aa3 (diff)
downloadlinux-8bf6adb988c6843f0e58d2b210526cf947a8a746.tar.xz
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions