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:
Kapil Gupta 2017-04-04 11:06:51 +05:30 • committed by Sandeep Puligilla
commit acb3dbd80b

View file

@ -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;