mt76: mt76x02: do not copy beacon skb in mt76x02_mac_set_beacon_enable
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 1 Aug 2019 08:26:23 +0000 (10:26 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2019 15:42:31 +0000 (17:42 +0200)
commitd5160d867fe31876ff15e121fb48ca1285d93923
tree8b81b75ff4e6f29f00237c4c20e1d25505b5d3f0
parent1920a0cc03e9a06161ef143a38e3825c78d5daf3
mt76: mt76x02: do not copy beacon skb in mt76x02_mac_set_beacon_enable

Do not copy beacon skb in mt76x02_mac_set_beacon_enable for usb devices
since it will be done in mt76x02_update_beacon_iter. Moreover squash
mt76x02_mac_set_beacon_enable and __mt76x02_mac_set_beacon_enable since
the latter is run just by mt76x02_mac_set_beacon_enable

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c
drivers/net/wireless/mediatek/mt76/mt76x02_mac.h