]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix peer limit enforcement
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 5 Aug 2015 10:15:24 +0000 (12:15 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Aug 2015 11:30:02 +0000 (14:30 +0300)
commitb53dbb44a4752bb24b9eddf638fa5d17902add14
tree2fa959a8c7596932d67a1b02a59e8dfcce6ae965
parentba8201260db13387c64ba6be30bc269f6df0446c
ath10k: fix peer limit enforcement

Firmware peer entries are involved in internal
firmware vdev structures. This was not accounted
for and could lead firmware to crash due to asking
it to do more than it could.

Fixes: bd54ab8ecdb4 ("ath10k: allocate fw resources for iface combinations")
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