ath10k: make sure to not leak beacon dma mapping
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 23 Apr 2014 16:30:05 +0000 (19:30 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 24 Apr 2014 06:22:29 +0000 (09:22 +0300)
commitec6bc5523b40008448bad5eadcdcf4cdbf9c7054
tree109a389c870c53533b7cc7ee53d64ff9e178620b
parent216a18367a4b287a9fa2bfeae9f22cbc344772b8
ath10k: make sure to not leak beacon dma mapping

If for some reason mac80211 wouldn't stop
beaconing gracefully and just removed interface of
a running AP/IBSS interface it was possible to
leak pending beacon DMA mapping. It's very
unlikely but better safe than sorry.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c