]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ath5k: don't reset mcast filter when configuring the mode
authorBob Copeland <me@bobcopeland.com>
Mon, 9 Nov 2009 02:59:00 +0000 (21:59 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Nov 2009 21:21:13 +0000 (16:21 -0500)
We should not zero out the multicast hash when configuring
the operating mode, since a zero value means all multicast
frames will get dropped.  Also, ath5k_mode_setup() gets
called after any reset, so the hash already set up in
configure_filter() is lost.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c

index 9c6ab5378f6e1a5ab693b88cb67bfd447e294581..95a8e232b58f772a74ea0c7d1d5ab96e11142e2e 100644 (file)
@@ -1125,7 +1125,6 @@ ath5k_mode_setup(struct ath5k_softc *sc)
        /* configure operational mode */
        ath5k_hw_set_opmode(ah);
 
-       ath5k_hw_set_mcast_filter(ah, 0, 0);
        ATH5K_DBG(sc, ATH5K_DEBUG_MODE, "RX filter 0x%x\n", rfilt);
 }