ath10k: add sanity checks for service bmap parsing
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 27 Nov 2014 09:11:16 +0000 (10:11 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 1 Dec 2014 07:09:21 +0000 (09:09 +0200)
commit37b9f933e0a82dcf61eb692d99d7106395b8e50f
tree526c5615cb8e8f14640e3cdb6044e971ce38c486
parent2a3e60d37fc662e9c3bac2f3b960062238edb2a0
ath10k: add sanity checks for service bmap parsing

This shouldn't really happen but take into account
the original service bitmap length when mapping
service ids.

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
drivers/net/wireless/ath/ath10k/wmi.h