Commit acc9780d authored by Vladimir Kondratiev's avatar Vladimir Kondratiev Committed by John W. Linville

wil6210: use WLAN_CAPABILITY_DMG_TYPE_MASK

Signed-off-by: default avatarVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent de70ab87
...@@ -291,7 +291,7 @@ static int wil_cfg80211_connect(struct wiphy *wiphy, ...@@ -291,7 +291,7 @@ static int wil_cfg80211_connect(struct wiphy *wiphy,
/* WMI_CONNECT_CMD */ /* WMI_CONNECT_CMD */
memset(&conn, 0, sizeof(conn)); memset(&conn, 0, sizeof(conn));
switch (bss->capability & 0x03) { switch (bss->capability & WLAN_CAPABILITY_DMG_TYPE_MASK) {
case WLAN_CAPABILITY_DMG_TYPE_AP: case WLAN_CAPABILITY_DMG_TYPE_AP:
conn.network_type = WMI_NETTYPE_INFRA; conn.network_type = WMI_NETTYPE_INFRA;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment