Replace custom emun

Replace rtw_ieee80211_channel_flags with ieee80211_channel_flags from net/cfg80211.h
Replace rtw_ieee80211_root_mode_identifier with ieee80211_root_mode_identifier from linux/ieee80211.h

port b658acbf64ae38b8fca982c2929ccc0bf4eb1ea2
port 5befa937e8daaebcde81b9423eb93f3ff2e918f7
This commit is contained in:
Carlos Garces
2021-10-20 18:36:56 +02:00
parent de617fc8d5
commit 77e7d6747c
5 changed files with 12 additions and 57 deletions

View File

@@ -14397,7 +14397,7 @@ static int rtw_scan_ch_decision(_adapter *padapter, struct rtw_ieee80211_channel
if (0)
RTW_INFO(FUNC_ADPT_FMT" "CHAN_FMT"\n", FUNC_ADPT_ARG(padapter), CHAN_ARG(&in[i]));
if (!in[i].hw_value || (in[i].flags & RTW_IEEE80211_CHAN_DISABLED))
if (!in[i].hw_value || (in[i].flags & IEEE80211_CHAN_DISABLED))
continue;
if (rtw_mlme_band_check(padapter, in[i].hw_value) == _FALSE)
continue;