diff options
author | Arik Nemtsov <arik@wizery.com> | 2010-10-16 13:25:35 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-01-24 15:11:49 -0500 |
commit | 7d0578693107887d52d50b89723be7fa0a41cd36 (patch) | |
tree | 5976f8bc14b5dff63870b551842ad6b6cae811b0 /drivers/net/wireless/wl12xx/main.c | |
parent | bee0ffec7766eae8c574cc1b07b739b05ba295c3 (diff) |
wl12xx: AP mode - change filter config
Do not configure a group address table in AP mode
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/main.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c index 01f3f0264fb4..8e5d435f63f7 100644 --- a/drivers/net/wireless/wl12xx/main.c +++ b/drivers/net/wireless/wl12xx/main.c | |||
@@ -1578,7 +1578,8 @@ static void wl1271_op_configure_filter(struct ieee80211_hw *hw, | |||
1578 | struct wl1271 *wl = hw->priv; | 1578 | struct wl1271 *wl = hw->priv; |
1579 | int ret; | 1579 | int ret; |
1580 | 1580 | ||
1581 | wl1271_debug(DEBUG_MAC80211, "mac80211 configure filter"); | 1581 | wl1271_debug(DEBUG_MAC80211, "mac80211 configure filter changed %x" |
1582 | " total %x", changed, *total); | ||
1582 | 1583 | ||
1583 | mutex_lock(&wl->mutex); | 1584 | mutex_lock(&wl->mutex); |
1584 | 1585 | ||
@@ -1592,15 +1593,16 @@ static void wl1271_op_configure_filter(struct ieee80211_hw *hw, | |||
1592 | if (ret < 0) | 1593 | if (ret < 0) |
1593 | goto out; | 1594 | goto out; |
1594 | 1595 | ||
1595 | 1596 | if (wl->bss_type != BSS_TYPE_AP_BSS) { | |
1596 | if (*total & FIF_ALLMULTI) | 1597 | if (*total & FIF_ALLMULTI) |
1597 | ret = wl1271_acx_group_address_tbl(wl, false, NULL, 0); | 1598 | ret = wl1271_acx_group_address_tbl(wl, false, NULL, 0); |
1598 | else if (fp) | 1599 | else if (fp) |
1599 | ret = wl1271_acx_group_address_tbl(wl, fp->enabled, | 1600 | ret = wl1271_acx_group_address_tbl(wl, fp->enabled, |
1600 | fp->mc_list, | 1601 | fp->mc_list, |
1601 | fp->mc_list_length); | 1602 | fp->mc_list_length); |
1602 | if (ret < 0) | 1603 | if (ret < 0) |
1603 | goto out_sleep; | 1604 | goto out_sleep; |
1605 | } | ||
1604 | 1606 | ||
1605 | /* determine, whether supported filter values have changed */ | 1607 | /* determine, whether supported filter values have changed */ |
1606 | if (changed == 0) | 1608 | if (changed == 0) |