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

Commit 7d057869 authored by Arik Nemtsov's avatar Arik Nemtsov Committed by Luciano Coelho
Browse files

wl12xx: AP mode - change filter config



Do not configure a group address table in AP mode

Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
Reviewed-by: default avatarLuciano Coelho <coelho@ti.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent bee0ffec
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -1578,7 +1578,8 @@ static void wl1271_op_configure_filter(struct ieee80211_hw *hw,
	struct wl1271 *wl = hw->priv;
	int ret;

	wl1271_debug(DEBUG_MAC80211, "mac80211 configure filter");
	wl1271_debug(DEBUG_MAC80211, "mac80211 configure filter changed %x"
		     " total %x", changed, *total);

	mutex_lock(&wl->mutex);

@@ -1592,7 +1593,7 @@ static void wl1271_op_configure_filter(struct ieee80211_hw *hw,
	if (ret < 0)
		goto out;


	if (wl->bss_type != BSS_TYPE_AP_BSS) {
		if (*total & FIF_ALLMULTI)
			ret = wl1271_acx_group_address_tbl(wl, false, NULL, 0);
		else if (fp)
@@ -1601,6 +1602,7 @@ static void wl1271_op_configure_filter(struct ieee80211_hw *hw,
							   fp->mc_list_length);
		if (ret < 0)
			goto out_sleep;
	}

	/* determine, whether supported filter values have changed */
	if (changed == 0)