summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lin <dlin@marvell.com>2015-05-25 11:06:46 +0800
committerDavid Lin <dlin@marvell.com>2015-05-25 11:06:46 +0800
commit16abd45e409596803c597bfa32e0559f19109140 (patch)
tree882aab654d92401360d8c48cf44d1e406e109c5d
parent7c2fc03a1a27734e0355b63a0951ab1afbb55721 (diff)
Fix problem: hidden ssid can't work.
Signed-off-by: David Lin <dlin@marvell.com>
-rw-r--r--mwl_mac80211.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mwl_mac80211.c b/mwl_mac80211.c
index 17a9438..f85160b 100644
--- a/mwl_mac80211.c
+++ b/mwl_mac80211.c
@@ -867,7 +867,9 @@ static void mwl_mac80211_bss_info_changed_ap(struct ieee80211_hw *hw,
dev_kfree_skb_any(skb);
}
- if ((info->ssid[0] != '\0') && (info->ssid_len != 0))
+ if ((info->ssid[0] != '\0') &&
+ (info->ssid_len != 0) &&
+ (!info->hidden_ssid))
mwl_fwcmd_broadcast_ssid_enable(hw, vif, true);
else
mwl_fwcmd_broadcast_ssid_enable(hw, vif, false);