projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
906d2d3
)
mt76: fix resetting software IV flag on key delete
author
Felix Fietkau
<nbd@nbd.name>
Fri, 25 Jan 2019 17:00:11 +0000
(18:00 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Mon, 18 Feb 2019 19:27:52 +0000
(20:27 +0100)
It needs to be unset instead of set
Fixes: 23405236460b9 ("mt76: fix transmission of encrypted management frames")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_util.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c
b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c
index 87ed00768bc700785369ada2a7fcbf808469346e..11b5f664f5b1f3bc12eb9c2ec927170ad0de281f 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76x02_util.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt76x02_util.c
@@
-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 =
tru
e;
+ wcid->sw_iv =
fals
e;
}
key = NULL;