]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Fix off by one error in scan completion
authorKyle Roeschley <kyle.roeschley@ni.com>
Wed, 5 Dec 2018 07:43:13 +0000 (09:43 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Dec 2018 07:30:38 +0000 (09:30 +0200)
commit18afd117ee4e8fd74cf0b27bdeed681ad3bf060f
tree4fcf6661e92442b62cbed414e47bf70fe3598401
parent69efc226d515a10ef0c4071171e2dea20df9ded7
ath6kl: Fix off by one error in scan completion

When ath6kl was reworked to share code between regular and scheduled scans
in commit b21a843de7ea ("ath6kl: Configure probed SSID list consistently"),
probed SSID entry changed from 1-index to 0-indexed. However,
ath6kl_cfg80211_scan_complete_event() was missed in that change. Fix its
indexing so that we correctly clear out the probed SSID list.

Signed-off-by: Kyle Roeschley <kyle.roeschley@ni.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath6kl/cfg80211.c