mwifiex: uap: filter duplicate ERP IE
authorXinming Hu <huxm@marvell.com>
Mon, 2 Apr 2018 12:31:22 +0000 (20:31 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 25 Apr 2018 08:17:44 +0000 (11:17 +0300)
Firmware parse and attach ERP IE from bss configuration,
do not set again from tail IE.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/ie.c

index 922e3d6..b10baac 100644 (file)
@@ -349,6 +349,7 @@ static int mwifiex_uap_parse_tail_ies(struct mwifiex_private *priv,
                case WLAN_EID_SUPP_RATES:
                case WLAN_EID_COUNTRY:
                case WLAN_EID_PWR_CONSTRAINT:
+               case WLAN_EID_ERP_INFO:
                case WLAN_EID_EXT_SUPP_RATES:
                case WLAN_EID_HT_CAPABILITY:
                case WLAN_EID_HT_OPERATION: