Commit bfc83ea1 authored by Roman Stratiienko's avatar Roman Stratiienko Committed by Kalle Valo
Browse files

mwifiex: Fix skipped vendor specific IEs



Mwifiex firmware inserts only Microsoft information element
Allow other vendor specific IEs to pass from userspace

Signed-off-by: default avatarRoman Stratiienko <roman.stratiienko@globallogic.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent fc3a2fca
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -355,7 +355,13 @@ static int mwifiex_uap_parse_tail_ies(struct mwifiex_private *priv,
		case WLAN_EID_HT_OPERATION:
		case WLAN_EID_VHT_CAPABILITY:
		case WLAN_EID_VHT_OPERATION:
			break;
		case WLAN_EID_VENDOR_SPECIFIC:
			/* Skip only Microsoft WMM IE */
			if (cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT,
						    WLAN_OUI_TYPE_MICROSOFT_WMM,
						    (const u8 *)hdr,
						    hdr->len + sizeof(struct ieee_types_header)))
				break;
		default:
			memcpy(gen_ie->ie_buffer + ie_len, hdr,