ath10k: plug memory leak on beacon tx
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 28 Oct 2013 06:18:14 +0000 (07:18 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 30 Oct 2013 09:52:02 +0000 (11:52 +0200)
commite204548101732849dadd8d9f229cd1c83ae9236a
tree886c60e7f781b13174911ce770840aeebc6bc1ef
parent5fb5e41f424ad970f3bda645b8234dc71fcc8e59
ath10k: plug memory leak on beacon tx

If beacon tx command failed the wmi command buffer
was not freed. This led to OOM in the long run.
This became aparent when stress testing
multi-BSSID.

Reported-By: Tomasz Skapski <tomasz.skapski@tieto.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c