diff options
| author | 2026-07-07 17:48:36 +0700 | |
|---|---|---|
| committer | 2026-07-07 12:56:18 +0200 | |
| commit | 5c632ffb06fb89659426b7a6608fcf3dc5a578ea (patch) | |
| tree | 3596cb697d2f68ff63f740b339e752c4ffebc06f /scripts/Makefile.thinlto | |
| parent | staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm (diff) | |
staging: rtl8723bs: use nl80211_iftype instead of custom NDIS enum
The driver defined its own enum ndis_802_11_network_infrastructure to
represent the operating mode (STA/AP/IBSS) and translated nl80211 iftypes
into it in cfg80211_rtw_change_iface(). The kernel already provides
enum nl80211_iftype for this purpose, so use it directly and drop the
redundant translation layer.
Map the removed values as follows:
Ndis802_11IBSS -> NL80211_IFTYPE_ADHOC
Ndis802_11Infrastructure -> NL80211_IFTYPE_STATION
Ndis802_11APMode -> NL80211_IFTYPE_AP
Ndis802_11AutoUnknown -> NL80211_IFTYPE_UNSPECIFIED
Compile-tested only.
Signed-off-by: Cong Nguyen <congnt264@gmail.com>
Link: https://patch.msgid.link/20260707104836.3176765-1-congnt264@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
