]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: use the right length of "background"
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Sat, 29 Oct 2016 11:17:37 +0000 (13:17 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 15 Nov 2016 15:07:36 +0000 (17:07 +0200)
commitb6a66876cc7467f6579aff895e37eba0686093f2
tree261d8b5f5d8853d46507c423964df97c40ae1aaf
parentfc2964e38e9f6d178c1e53cd916dfb665e20e8e5
ath10k: use the right length of "background"

The word "background" contains 10 characters so the third argument of
strncmp() need to be 10 in order to match this prefix correctly.

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Fixes: abb5b929791f ("ath10k: add spectral scan feature")
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/spectral.c