]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Only use match sets when firmware supports it
authorKyle Roeschley <kyle.roeschley@ni.com>
Wed, 5 Dec 2018 07:43:11 +0000 (09:43 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Dec 2018 07:30:29 +0000 (09:30 +0200)
commit176344138c9643713aa29ea34a0c7b08fb61d3f7
tree6a04c6d38c8af8a42a6ed78af1e602457c11f61c
parent95333c2d64945a25c560fe00c50a17782b272fe4
ath6kl: Only use match sets when firmware supports it

Commit 8f8c76352ad2 ("ath6kl: Include match ssid list in scheduled scan")
merged the probed and matched SSID lists before sending them to the
firmware. In the process, it assumed match set support is always available
in ath6kl_set_probed_ssids, which breaks scans for hidden SSIDs. Now, check
that the firmware supports matching SSIDs in scheduled scans before setting
MATCH_SSID_FLAG.

Fixes: 8f8c76352ad2 ("ath6kl: Include match ssid list in scheduled scan")
Signed-off-by: Kyle Roeschley <kyle.roeschley@ni.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath6kl/cfg80211.c