mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: replace IEEE80211_NUM_BAND by NUM_NL80211_BANDS
IEEE80211_NUM_BAND is not defined in newer kernels, Add changes to replace IEEE80211_NUM_BAND by NUM_NL80211_BANDS. CRs-Fixed: 2028465 Change-Id: Id811a434aa791f096ef4921db0f2ab8b42bc9f23
This commit is contained in:
parent
faffb6443b
commit
acb3dbd80b
1 changed files with 1 additions and 1 deletions
|
|
@ -2485,7 +2485,7 @@ static bool wlan_hdd_update_survey_info(struct wiphy *wiphy,
|
|||
|
||||
mutex_lock(&pHddCtx->chan_info_lock);
|
||||
|
||||
for (i = 0; i < IEEE80211_NUM_BANDS && !filled; i++) {
|
||||
for (i = 0; i < NUM_NL80211_BANDS && !filled; i++) {
|
||||
if (wiphy->bands[i] == NULL)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue