Skip to content

Commit

Permalink
fix disconnection issue
Browse files Browse the repository at this point in the history
see #409

Signed-off-by: Julien Blais webmaster@jbsky.fr
  • Loading branch information
jbsky committed Apr 23, 2023
1 parent c916ac1 commit 2c70dc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mac80211.c
Expand Up @@ -533,7 +533,8 @@ static int mwl_mac80211_set_key(struct ieee80211_hw *hw,
}
} else {
rc = mwl_fwcmd_encryption_remove_key(hw, vif, addr, key);
mwl_vif->is_hw_crypto_enabled = false;
if (vif->type == NL80211_IFTYPE_STATION)
mwl_vif->is_hw_crypto_enabled = false;
if (rc)
goto out;
}
Expand Down

0 comments on commit 2c70dc7

Please sign in to comment.