Skip to content

Commit

Permalink
don't depend on PROMISC_IN_BSS for setting promisc
Browse files Browse the repository at this point in the history
This flag does not exist in mainline kernel v4.2.

Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Jun 5, 2015
1 parent ad5474e commit 6039a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ mt76_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags,

dev->rxfilter &= ~MT_RX_FILTR_CFG_OTHER_BSS;

MT76_FILTER(PROMISC_IN_BSS, MT_RX_FILTR_CFG_PROMISC);
MT76_FILTER(OTHER_BSS, MT_RX_FILTR_CFG_PROMISC);
MT76_FILTER(FCSFAIL, MT_RX_FILTR_CFG_CRC_ERR);
MT76_FILTER(PLCPFAIL, MT_RX_FILTR_CFG_PHY_ERR);
MT76_FILTER(CONTROL, MT_RX_FILTR_CFG_ACK |
Expand Down

0 comments on commit 6039a4f

Please sign in to comment.