ath10k: Use IBSS SSID provided by mac80211.
PATCH 1/1 ath10k: Use IBSS SSID provided by mac80211.
IBSS ssid is provided by mac80211, use it in vdev start.
Signed-off-by Marek Puzyniak <[email protected]>
--- drivers/net/wireless/ath/ath10k/mac.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/wireless/ath/ath10k/mac.c +4 -4
@@ -396,9 +396,8 @@ static int ath10k_vdev_start(struct ath10k_vif *arvif) arg.ssid_len = arvif->u.ap.ssid_len; arg.hidden_ssid = arvif->u.ap.hidden_ssid; }else if (arvif->vdev_type ==WMI_VDEV_TYPE_IBSS ) { -/* TODO: IBSS ssid and ssid_len is needed from mac80211 -* small patch in mac80211 is needed -*/ + arg.ssid = arvif->vif->bss_conf.ssid; + arg.ssid_len = arvif->vif->bss_conf.ssid_len; } ret =ath10k_wmi_vdev_start (ar, &arg);
@@ -1823,7 +1822,8 @@ static void ath10k_bss_info_changed(struct ieee80211_hw *hw, arvif->dtim_period, arvif->vdev_id); } -if (changed &BSS_CHANGED_SSID ) { +if (changed &BSS_CHANGED_SSID && + vif->type ==NL80211_IFTYPE_AP ) { arvif->u.ap.ssid_len = info->ssid_len;if (info->ssid_len)memcpy (arvif->u.ap.ssid, info->ssid, info->ssid_len);
Signature · 1 line
1.7.0.4
PATCH 1/1 ath10k: Use IBSS SSID provided by mac80211.
Quoted 3 lines · Marek Puzyniak
IBSS ssid is provided by mac80211, use it in vdev start.
Signed-off-by Marek Puzyniak <[email protected]>
You sent this patch two times, I didn't find any difference from them so I just took the latter one. Thanks.
Signature · 1 line
Kalle Valo