]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit5803c12816c43bd09e5f4247dd9313c2d9a2c41b
tree4fcf6661e92442b62cbed414e47bf70fe3598401
parentfb376a495fbdb886f38cfaf5a3805401b9e46f13
ath6kl: Fix off by one error in scan completion

When ath6kl was reworked to share code between regular and scheduled scans
in commit 3b8ffc6a22ba ("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