|
@@ -925,10 +925,8 @@ static int ath6kl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
|
|
|
|
|
|
if (!ar->usr_bss_filter) {
|
|
|
clear_bit(CLEAR_BSSFILTER_ON_BEACON, &vif->flags);
|
|
|
- ret = ath6kl_wmi_bssfilter_cmd(
|
|
|
- ar->wmi, vif->fw_vif_idx,
|
|
|
- (test_bit(CONNECTED, &vif->flags) ?
|
|
|
- ALL_BUT_BSS_FILTER : ALL_BSS_FILTER), 0);
|
|
|
+ ret = ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
|
|
|
+ ALL_BSS_FILTER, 0);
|
|
|
if (ret) {
|
|
|
ath6kl_err("couldn't set bss filtering\n");
|
|
|
return ret;
|