mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 15:13:44 -04:00
ath9k_hw: disable fast channel change when changing from/to half/quarter mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
e5d821a4ff
commit
feb7bc9951
@@ -1687,6 +1687,10 @@ static int ath9k_hw_do_fastcc(struct ath_hw *ah, struct ath9k_channel *chan)
|
||||
if (chan->channel == ah->curchan->channel)
|
||||
goto fail;
|
||||
|
||||
if ((ah->curchan->channelFlags | chan->channelFlags) &
|
||||
(CHANNEL_HALF | CHANNEL_QUARTER))
|
||||
goto fail;
|
||||
|
||||
if ((chan->channelFlags & CHANNEL_ALL) !=
|
||||
(ah->curchan->channelFlags & CHANNEL_ALL))
|
||||
goto fail;
|
||||
|
||||
Reference in New Issue
Block a user