]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc06a66f3a579e34cfbe0074bad6eb04e04808dae
tree526c5615cb8e8f14640e3cdb6044e971ce38c486
parent7a5e2d91bfff3cb145c3bf3ebf3694312fa5230a
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