ath10k: Do not send probe response template for mesh
authorSurabhi Vishnoi <svishnoi@codeaurora.org>
Wed, 17 Apr 2019 08:31:46 +0000 (14:01 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 7 May 2019 14:01:29 +0000 (17:01 +0300)
commit97354f2c432788e3163134df6bb144f4b6289d87
treea5ffb356d04f48b87fa0ca1e71a4a98be7d5d2e2
parenta7368c395fc3ebd544cf6ceaca715adb4e85eff1
ath10k: Do not send probe response template for mesh

Currently mac80211 do not support probe response template for
mesh point. When WMI_SERVICE_BEACON_OFFLOAD is enabled, host
driver tries to configure probe response template for mesh, but
it fails because the interface type is not NL80211_IFTYPE_AP but
NL80211_IFTYPE_MESH_POINT.

To avoid this failure, skip sending probe response template to
firmware for mesh point.

Tested HW: WCN3990/QCA6174/QCA9984

Signed-off-by: Surabhi Vishnoi <svishnoi@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c