diff options
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/ie.c')
| -rw-r--r-- | drivers/net/wireless/marvell/mwifiex/ie.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/ie.c b/drivers/net/wireless/marvell/mwifiex/ie.c index 922e3d69fd84..75cbd609d606 100644 --- a/drivers/net/wireless/marvell/mwifiex/ie.c +++ b/drivers/net/wireless/marvell/mwifiex/ie.c | |||
| @@ -349,13 +349,20 @@ static int mwifiex_uap_parse_tail_ies(struct mwifiex_private *priv, | |||
| 349 | case WLAN_EID_SUPP_RATES: | 349 | case WLAN_EID_SUPP_RATES: |
| 350 | case WLAN_EID_COUNTRY: | 350 | case WLAN_EID_COUNTRY: |
| 351 | case WLAN_EID_PWR_CONSTRAINT: | 351 | case WLAN_EID_PWR_CONSTRAINT: |
| 352 | case WLAN_EID_ERP_INFO: | ||
| 352 | case WLAN_EID_EXT_SUPP_RATES: | 353 | case WLAN_EID_EXT_SUPP_RATES: |
| 353 | case WLAN_EID_HT_CAPABILITY: | 354 | case WLAN_EID_HT_CAPABILITY: |
| 354 | case WLAN_EID_HT_OPERATION: | 355 | case WLAN_EID_HT_OPERATION: |
| 355 | case WLAN_EID_VHT_CAPABILITY: | 356 | case WLAN_EID_VHT_CAPABILITY: |
| 356 | case WLAN_EID_VHT_OPERATION: | 357 | case WLAN_EID_VHT_OPERATION: |
| 357 | case WLAN_EID_VENDOR_SPECIFIC: | ||
| 358 | break; | 358 | break; |
| 359 | case WLAN_EID_VENDOR_SPECIFIC: | ||
| 360 | /* Skip only Microsoft WMM IE */ | ||
| 361 | if (cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT, | ||
| 362 | WLAN_OUI_TYPE_MICROSOFT_WMM, | ||
| 363 | (const u8 *)hdr, | ||
| 364 | hdr->len + sizeof(struct ieee_types_header))) | ||
| 365 | break; | ||
| 359 | default: | 366 | default: |
| 360 | memcpy(gen_ie->ie_buffer + ie_len, hdr, | 367 | memcpy(gen_ie->ie_buffer + ie_len, hdr, |
| 361 | hdr->len + sizeof(struct ieee_types_header)); | 368 | hdr->len + sizeof(struct ieee_types_header)); |
