staging: rtl8723bs: replace EID_BSSCoexistence
authorRoss Schmidt <ross.schm.dev@gmail.com>
Tue, 8 Dec 2020 04:07:29 +0000 (22:07 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Dec 2020 08:55:51 +0000 (09:55 +0100)
Replace unique EID_BSSCoexistence constant with kernel provided
WLAN_EID_BSS_COEX_2040 from linux/ieee80211.h.

Signed-off-by: Ross Schmidt <ross.schm.dev@gmail.com>
Link: https://lore.kernel.org/r/20201208040733.379197-18-ross.schm.dev@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c

index e9b14fc8b10fcb914b855b8023e47976c149d12e..b6e255f6cdc5bcbe756c4cf7a8cef7a1ebadc7ab 100644 (file)
@@ -4096,7 +4096,7 @@ static void issue_action_BSSCoexistPacket(struct adapter *padapter)
 
                iedata |= BIT(2);/* 20 MHz BSS Width Request */
 
-               pframe = rtw_set_ie(pframe, EID_BSSCoexistence,  1, &iedata, &(pattrib->pktlen));
+               pframe = rtw_set_ie(pframe, WLAN_EID_BSS_COEX_2040,  1, &iedata, &(pattrib->pktlen));
 
        }