]> git.baikalelectronics.ru Git - kernel.git/commit
wcn36xx: fix incorrect assignment to msg_body.min_ch_time
authorColin Ian King <colin.king@canonical.com>
Fri, 29 Dec 2017 09:07:31 +0000 (09:07 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 9 Jan 2018 08:19:39 +0000 (10:19 +0200)
commit87f1d4350f002132ab4cc1a1928d2c53b1ab7fd5
treee61d118e3849b571f1e0da562491f8087acbcff2
parent615fbc0ee6896a8e653a7e04bde99eb544ad7eda
wcn36xx: fix incorrect assignment to msg_body.min_ch_time

The second assignment to msg_body.min_ch_time is incorrect, it
should actually be to msg_body.max_ch_time.

Thanks to Bjorn Andersson for identifying the correct way to fix
this as my original fix was incorrect.

Detected by CoverityScan, CID#1463042 ("Unused Value")

Fixes: 3d96f7acaae5 ("wcn36xx: Add hardware scan offload support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/smd.c