summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-10-17 21:37:45 +0200
committerKalle Valo <kvalo@codeaurora.org>2017-10-30 12:47:55 +0200
commit39a9cd5a0e4e64d02b1b201bb767fde22712405a (patch)
treef627599d02951d17175ab21d5e1a6c940c79d253 /drivers/net/wireless/marvell
parent5a63b04ed508daf5e208fde74bfcc1b3c848ee86 (diff)
downloadblackbird-op-linux-39a9cd5a0e4e64d02b1b201bb767fde22712405a.tar.gz
blackbird-op-linux-39a9cd5a0e4e64d02b1b201bb767fde22712405a.zip
libertas: don't write wdev->ssid/_len
When joining an IBSS network, wdev->ssid/_len will already be set, so there's no need to write them. In any case, they are internal cfg80211 values, and have very little user-visible impact. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell')
-rw-r--r--drivers/net/wireless/marvell/libertas/cfg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/marvell/libertas/cfg.c b/drivers/net/wireless/marvell/libertas/cfg.c
index 71ba2c8d09b5..bb76707881cd 100644
--- a/drivers/net/wireless/marvell/libertas/cfg.c
+++ b/drivers/net/wireless/marvell/libertas/cfg.c
@@ -1698,9 +1698,6 @@ static void lbs_join_post(struct lbs_private *priv,
0, GFP_KERNEL);
cfg80211_put_bss(priv->wdev->wiphy, bss);
- memcpy(priv->wdev->ssid, params->ssid, params->ssid_len);
- priv->wdev->ssid_len = params->ssid_len;
-
cfg80211_ibss_joined(priv->dev, bssid, params->chandef.chan,
GFP_KERNEL);
OpenPOWER on IntegriCloud