Re: [PATCH 10/10] staging: rtl8723bs: replace unique macros and ELEMENT_ID

2020-12-07 Thread Greg KH
On Sat, Dec 05, 2020 at 09:45:17PM -0600, Ross Schmidt wrote: > Replace unique macros and ELEMENT_ID with kernel provided ieee80211_eid > enum. > > In a several cases multiple macros or constants are replaced by one > constant. > > WLAN_EID_HT_CAP, _HT_CAPABILITY_IE_, and EID_HTCapability are

[PATCH 10/10] staging: rtl8723bs: replace unique macros and ELEMENT_ID

2020-12-05 Thread Ross Schmidt
Replace unique macros and ELEMENT_ID with kernel provided ieee80211_eid enum. In a several cases multiple macros or constants are replaced by one constant. WLAN_EID_HT_CAP, _HT_CAPABILITY_IE_, and EID_HTCapability are replace by WLAN_EID_HT_CAPABILITY. _WPA2_IE_ID_, EID_WPA2, and _RSN_IE_2_ are