wcn36xx: send bss_type in scan requests
authorDaniel Mack <daniel@zonque.org>
Tue, 17 Apr 2018 13:23:36 +0000 (15:23 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Apr 2018 06:06:20 +0000 (09:06 +0300)
commit5a425c8b78e5a3d4850035c737f4f453f528320a
tree1a57d4b19f94308801a2e74b5cd4a49fd7b2b61d
parent89722f5767ac71b66e3077b6a158495eb316a43c
wcn36xx: send bss_type in scan requests

Pass the bss_type of the currently configured BSS in the message for the
scan request. Therefore, that setting needs to be kept in struct
wcn36xx_vif.

This seems to be only interesting when scanning for a specific SSID
and doesn't matter for regular wildcard scans.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/smd.c
drivers/net/wireless/ath/wcn36xx/wcn36xx.h