On 2012-04-17 6:01 AM, Sujith Manoharan wrote: > Felix Fietkau wrote: >> Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> >> --- >> drivers/net/wireless/ath/ath9k/hw.c | 4 ++++ >> 1 files changed, 4 insertions(+), 0 deletions(-) >> >> diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c >> index ff8d58d..26e6083 100644 >> --- a/drivers/net/wireless/ath/ath9k/hw.c >> +++ b/drivers/net/wireless/ath/ath9k/hw.c >> @@ -1440,6 +1440,10 @@ static bool ath9k_hw_channel_change(struct ath_hw *ah, >> CHANNEL_5GHZ)); >> mode_diff = (chan->chanmode != ah->curchan->chanmode); >> >> + if ((ah->curchan->channelFlags | chan->channelFlags) & >> + (CHANNEL_HALF | CHANNEL_QUARTER)) >> + return false; >> + > > ath9k_hw_do_fastcc() is a better place where this check can be done. OK, will send a v3. - Felix -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html