]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:12:37 +0000 (11:12 -0800)
commit255768cf1b571a4f8d0ac78054ccb8793f3e4ca8
tree81691965c6bdcb1052b4486511ce54c636ca915d
parent7ea2dd519f59426fadfaf6c48670426bfbda2cb6
mt76: mt76x2: fix multi-interface beacon configuration

commit 5289976ad887deb07c76df7eecf553c264aeebed upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mediatek/mt76/mt76x2_mac.c