mt76: mt7663u: copy key pointer in mt7663u_mac_write_txwi
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 8 May 2020 16:26:29 +0000 (18:26 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 12 May 2020 17:52:36 +0000 (19:52 +0200)
commit3fb31939b782cda8a9cd187bde60b867a5e13bf4
treed46808f3a10e2c12c77cf07452fbc6e5d78d654b
parentbb3e3fec509e2b6103b8782b652f447a42212ae8
mt76: mt7663u: copy key pointer in mt7663u_mac_write_txwi

Copy key pointer value before running mt76_tx_status_skb_add() in
mt7663u_mac_write_txwi since it will be overwritten setting
mt76_tx_cb for probing frames

Co-developed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/usb.c