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

Commit e9250cba authored by Jimmy Perchet's avatar Jimmy Perchet Committed by Amit Pundir
Browse files

ANDROID: net: wireless: wlcore: Disable filtering in AP role



When you configure (set it up) a STA interface, the driver
install a multicast filter. This is normal behavior, when
one application subscribe to multicast address the filter
is updated. When Access Point interface is configured, there
is no filter installation and the "filter update" path is
disabled in the driver.

The problem happens when you switch an interface from STA
type to AP type. The filter is installed but there are no
means to update it.

Change-Id: Ied22323af831575303abd548574918baa9852dd0
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent fdad8f39
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -549,6 +549,11 @@ static int wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif)
{
	int ret;

	/* Disable filtering */
	ret = wl1271_acx_group_address_tbl(wl, wlvif, false, NULL, 0);
	if (ret < 0)
		return ret;

	ret = wl1271_acx_ap_max_tx_retry(wl, wlvif);
	if (ret < 0)
		return ret;