From: Bob Copeland Date: Mon, 9 Nov 2009 02:59:00 +0000 (-0500) Subject: ath5k: don't reset mcast filter when configuring the mode X-Git-Tag: v3.0~6915^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcfc56a8be48501810eba992937cabdcdb989297;p=platform%2Fkernel%2Flinux-amlogic.git ath5k: don't reset mcast filter when configuring the mode 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 9c6ab53..95a8e23 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c @@ -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); }