[ath9k-devel] [PATCH] ath9k: Fix symbol overlap window for half/quarter channels
Felix Fietkau <[email protected]>
| Newsgroups | org.ath9k.lists.ath9k-devel,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
On 2016-04-29 20:06, Helmut Schaa wrote: > Since commit cd6cfd7311a385144a2f9c74f692ae2df3ae033f > "ath9k: do not set half/quarter channel flags in AR_PHY_MODE" the > condition "rfMode & (AR_PHY_MODE_QUARTER | AR_PHY_MODE_HALF)" would > never evaluate to true. > > Fix this by using the available IS_CHAN_HALF_RATE and IS_CHAN_QUARTER_RATE > marcros instead. > > Signed-off-by: Helmut Schaa <[email protected]> > Cc: Felix Fietkau <[email protected]> > --- > Just stumbled over that piece of code while looking into TX99, so > this is only compile-tested. > > Felix, can you please confirm if this is correct or if removing > the whole block would be better? This patch looks good to me. Acked-by: Felix Fietkau <[email protected]>