Skip to content

Commit

Permalink
wil6210: use WLAN_CAPABILITY_DMG_TYPE_MASK
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Vladimir Kondratiev authored and John W. Linville committed Mar 13, 2013
1 parent de70ab8 commit acc9780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/wil6210/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ static int wil_cfg80211_connect(struct wiphy *wiphy,

/* WMI_CONNECT_CMD */
memset(&conn, 0, sizeof(conn));
switch (bss->capability & 0x03) {
switch (bss->capability & WLAN_CAPABILITY_DMG_TYPE_MASK) {
case WLAN_CAPABILITY_DMG_TYPE_AP:
conn.network_type = WMI_NETTYPE_INFRA;
break;
Expand Down

0 comments on commit acc9780

Please sign in to comment.