aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt73usb.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-02-17 11:33:13 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:37:22 -0500
commite542239f639fa4e7b13a949d39d44ff1eccf7e3a (patch)
tree4357db0cd7c826a57b4d75f12e473633eb58645e /drivers/net/wireless/rt2x00/rt73usb.c
parentbaf26a7eae3b05d25dd967b92eb2e09406ed9cf4 (diff)
rt2x00: Filter ACK_CTS based on FIF_CONTROL
The ACK_CTS frame is a control frame, this means dropping the frame depends on the FIF_CONTROL flag for filtering. This also fixes an obvious typo in register definition. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt73usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c
index afd8533267a7..c3d4e9307785 100644
--- a/drivers/net/wireless/rt2x00/rt73usb.c
+++ b/drivers/net/wireless/rt2x00/rt73usb.c
@@ -1929,7 +1929,8 @@ static void rt73usb_configure_filter(struct ieee80211_hw *hw,
1929 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_MULTICAST, 1929 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_MULTICAST,
1930 !(*total_flags & FIF_ALLMULTI)); 1930 !(*total_flags & FIF_ALLMULTI));
1931 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_BROADCAST, 0); 1931 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_BROADCAST, 0);
1932 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_ACK_CTS, 1); 1932 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_ACK_CTS,
1933 !(*total_flags & FIF_CONTROL));
1933 rt73usb_register_write(rt2x00dev, TXRX_CSR0, reg); 1934 rt73usb_register_write(rt2x00dev, TXRX_CSR0, reg);
1934} 1935}
1935 1936