mt76: mt76x02u: do not set NULL beacons
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 29 Nov 2019 12:32:27 +0000 (13:32 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:06:01 +0000 (10:06 +0100)
commitc708bfa352d3464def0da485a3f846cc7c7b88cf
treee3fdfb4c7b149962989563e4f24feece60e99036
parenta6bfb6d13f3325fd5cc3646f558b67c40ea823d0
mt76: mt76x02u: do not set NULL beacons

With current implementation we do not cleanup beacon memory, so is not
needed to call mt76x02_mac_set_beacon() with NULL skb.

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