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: Ubuntu-goldfish-3.4.0-4.27~9325^2~33 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bcfc56a8be48501810eba992937cabdcdb989297;p=mirror_ubuntu-zesty-kernel.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 9c6ab5378f6e..95a8e232b58f 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); }