1
0

libertas: use mesh_wdev->ssid instead of priv->mesh_ssid

With the commit e86dc1ca46 ("Libertas: cfg80211 support") we've lost
the ability to actually set the Mesh SSID from userspace.
NL80211_CMD_SET_INTERFACE with NL80211_ATTR_MESH_ID sets the mesh point
interface's ssid field. Let's use that one for the Libertas Mesh
operation

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Este cometimento está contido em:
Lubomir Rintel
2019-09-07 17:18:55 +02:00
cometido por Kalle Valo
ascendente d3bb268681
cometimento 2199c98176
3 ficheiros modificados com 21 adições e 15 eliminações

Ver ficheiro

@@ -58,8 +58,6 @@ struct lbs_private {
#ifdef CONFIG_LIBERTAS_MESH
struct lbs_mesh_stats mstats;
uint16_t mesh_tlv;
u8 mesh_ssid[IEEE80211_MAX_SSID_LEN + 1];
u8 mesh_ssid_len;
u8 mesh_channel;
#endif