wireless: drivers: make use of WLAN_EID_VENDOR_SPECIFIC
The include file linux/ieee80211.h contains three definitions for the same thing in enum ieee80211_eid due to historic changes: /* Information Element IDs */ enum ieee80211_eid { : WLAN_EID_WPA = 221, WLAN_EID_GENERIC = 221, WLAN_EID_VENDOR_SPECIFIC = 221, : }; The standard refers to this as "vendor specific" element so the other two definitions are better not used. This patch changes the wireless drivers to use one definition, ie. WLAN_EID_VENDOR_SPECIFIC. Cc: Jouni Malinen <j@w1.fi> Cc: Dan Williams <dcbw@redhat.com> Cc: Larry Finger <Larry.Finger@lwfinger.net> Acked-by: Kalle Valo <kvalo@qca.qualcomm.com> [ath6kl] Acked-by: Bing Zhao <bzhao@marvell.com> [mwifiex] Acked-by: Stanislav Yakovlev <stas.yakovlev@gmail.com> [ipw2x00] Signed-off-by: Arend van Spriel <arend@broadcom.com> [change libipw as well] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

父節點
c13a765bd9
當前提交
04b2312a68
@@ -1108,7 +1108,7 @@ static const char *get_info_element_string(u16 id)
|
||||
MFIE_STRING(ERP_INFO);
|
||||
MFIE_STRING(RSN);
|
||||
MFIE_STRING(EXT_SUPP_RATES);
|
||||
MFIE_STRING(GENERIC);
|
||||
MFIE_STRING(VENDOR_SPECIFIC);
|
||||
MFIE_STRING(QOS_PARAMETER);
|
||||
default:
|
||||
return "UNKNOWN";
|
||||
@@ -1248,8 +1248,8 @@ static int libipw_parse_info_param(struct libipw_info_element
|
||||
LIBIPW_DEBUG_MGMT("WLAN_EID_CHALLENGE: ignored\n");
|
||||
break;
|
||||
|
||||
case WLAN_EID_GENERIC:
|
||||
LIBIPW_DEBUG_MGMT("WLAN_EID_GENERIC: %d bytes\n",
|
||||
case WLAN_EID_VENDOR_SPECIFIC:
|
||||
LIBIPW_DEBUG_MGMT("WLAN_EID_VENDOR_SPECIFIC: %d bytes\n",
|
||||
info_element->len);
|
||||
if (!libipw_parse_qos_info_param_IE(info_element,
|
||||
network))
|
||||
|
Reference in New Issue
Block a user