ath9k: Fix RX filters in channel contexts
Maintain the RX filter on a per-channel-context basis and not globally. Not doing so was resulting in incorrect filter calculation. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
3d1132d008
commit
fce3443099
@@ -314,7 +314,6 @@ struct ath_rx {
|
||||
bool discard_next;
|
||||
u32 *rxlink;
|
||||
u32 num_pkts;
|
||||
unsigned int rxfilter;
|
||||
struct list_head rxbuf;
|
||||
struct ath_descdma rxdma;
|
||||
struct ath_rx_edma rx_edma[ATH9K_RX_QUEUE_MAX];
|
||||
@@ -350,6 +349,8 @@ struct ath_chanctx {
|
||||
bool active;
|
||||
bool assigned;
|
||||
bool switch_after_beacon;
|
||||
|
||||
unsigned int rxfilter;
|
||||
};
|
||||
|
||||
enum ath_chanctx_event {
|
||||
|
Reference in New Issue
Block a user