Skip to content

Commit

Permalink
drivers: net: wireless: ath: wcn36xx: disable hardware scanning
Browse files Browse the repository at this point in the history
Disable hardware scanning as it crashes the wcn3660a on milletwifi.

Signed-off-by: Bryant Mairs <bryant@mai.rs>
  • Loading branch information
Susurrus authored and z3ntu committed Jan 13, 2024
1 parent 4ea7f0a commit 432ab73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/wcn36xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ static int wcn36xx_hw_scan(struct ieee80211_hw *hw,
{
struct wcn36xx *wcn = hw->priv;

if (!wcn36xx_firmware_get_feat_caps(wcn->fw_feat_caps, SCAN_OFFLOAD)) {
if (1 || !wcn36xx_firmware_get_feat_caps(wcn->fw_feat_caps, SCAN_OFFLOAD)) {
/* fallback to mac80211 software scan */
return 1;
}
Expand Down

0 comments on commit 432ab73

Please # to comment.