ath10k: make sure to not use invalid beacon pointer
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:41 +0000 (09:22 +0300)
commit2ab03a6b962eb9ff34846156b324eb411837b331
tree0465ea3c8005f2dc45e54e5ab82d4277470d1b42
parentec6bc5523b40008448bad5eadcdcf4cdbf9c7054
ath10k: make sure to not use invalid beacon pointer

If DMA mapping of next beacon failed it was
possible for next SWBA to access a pointer that
was already unmapped and freed. This could cause
memory corruption.

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