Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcfc56a8 authored by Bob Copeland's avatar Bob Copeland Committed by John W. Linville
Browse files

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: default avatarBob Copeland <me@bobcopeland.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e1a6542f
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1125,7 +1125,6 @@ ath5k_mode_setup(struct ath5k_softc *sc)
	/* configure operational mode */
	/* configure operational mode */
	ath5k_hw_set_opmode(ah);
	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);
	ATH5K_DBG(sc, ATH5K_DEBUG_MODE, "RX filter 0x%x\n", rfilt);
}
}