提交 f2f6a47b 编写于 作者: F Felix Fietkau

mt76: fix resetting software IV flag on key delete

It needs to be unset instead of set

Fixes: 23405236 ("mt76: fix transmission of encrypted management frames")
Signed-off-by: NFelix Fietkau <nbd@nbd.name>
上级 906d2d3f
......@@ -431,7 +431,7 @@ int mt76x02_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
} else {
if (idx == wcid->hw_key_idx) {
wcid->hw_key_idx = -1;
wcid->sw_iv = true;
wcid->sw_iv = false;
}
key = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册