mt76: mt7663u: fix memory leak in set key
authorSean Wang <sean.wang@mediatek.com>
Tue, 7 Jul 2020 19:16:46 +0000 (03:16 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 Jul 2020 17:01:18 +0000 (19:01 +0200)
commit4a850f8dc68b8c4a20333521b31600c9d31ccb5d
tree06f7c63ba62b9fb5848129c0d029db7b022567eb
parentd71d67a706352b0111a17fc8d005aeceb9a5ffd1
mt76: mt7663u: fix memory leak in set key

Fix memory leak in set key.

Fixes: eb99cc95c3b6 ("mt76: mt7615: introduce mt7663u support")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/usb.c