mt76x02: fix hdr pointer in write txwi for USB
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 28 Feb 2019 15:11:06 +0000 (16:11 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 7 Mar 2019 11:50:23 +0000 (12:50 +0100)
commit7b25d3b8e485c7721cba9c71b44d1c286e61c8e7
treeab661529a098b0f3cfba7c4c2623307ad3f3b9b6
parent004960423fe17dfff93753017b7081dab36c7180
mt76x02: fix hdr pointer in write txwi for USB

Since we add txwi at the begining of skb->data, it no longer point
to ieee80211_hdr. This breaks settings TS bit for probe response and
beacons.

Acked-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c