]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt76x2: fix multi-interface beacon configuration
authorFelix Fietkau <nbd@nbd.name>
Mon, 1 Oct 2018 11:24:00 +0000 (13:24 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 1 Oct 2018 11:26:21 +0000 (13:26 +0200)
commit45bb8b782e5295b2aaf439244a3e2420aab27611
tree549009c3e7f72682bf33a709b8c443b3505c4ecf
parentb8c1419d5afda096a90c1d9953ad02a5846547d4
mt76: mt76x2: fix multi-interface beacon configuration

If the first virtual interface is a station (or an AP with beacons
temporarily disabled), the beacon of the second interface needs to
occupy hardware beacon slot 0.
For some reason the beacon index was incorrectly masked with the
virtual interface beacon mask, which prevents the secondary
interface from sending beacons unless the first one also does.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x2_mac.c