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

Commit fbb0a27a authored by Adam Baker's avatar Adam Baker Committed by John W. Linville
Browse files

rt2x00: never disable multicast because it disables broadcast too



On rt73 and rt61 disabling reception of multicast packets also disables
broadcast traffic which we never want to do. Therefore we should never
disable multicast.

Signed-off-by: default avatarAdam Baker <linux@baker-net.org.uk>
Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5f0547c2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2302,8 +2302,8 @@ static void rt61pci_configure_filter(struct ieee80211_hw *hw,
	 * Apply some rules to the filters:
	 * - Some filters imply different filters to be set.
	 * - Some things we can't filter out at all.
	 * - Multicast filter seems to kill broadcast traffic so never use it.
	 */
	if (mc_count)
	*total_flags |= FIF_ALLMULTI;
	if (*total_flags & FIF_OTHER_BSS ||
	    *total_flags & FIF_PROMISC_IN_BSS)
+2 −2
Original line number Diff line number Diff line
@@ -1869,8 +1869,8 @@ static void rt73usb_configure_filter(struct ieee80211_hw *hw,
	 * Apply some rules to the filters:
	 * - Some filters imply different filters to be set.
	 * - Some things we can't filter out at all.
	 * - Multicast filter seems to kill broadcast traffic so never use it.
	 */
	if (mc_count)
	*total_flags |= FIF_ALLMULTI;
	if (*total_flags & FIF_OTHER_BSS ||
	    *total_flags & FIF_PROMISC_IN_BSS)