projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cfg80211: remove enum ieee80211_band
[cascardo/linux.git]
/
net
/
mac80211
/
rc80211_minstrel_ht.c
diff --git
a/net/mac80211/rc80211_minstrel_ht.c
b/net/mac80211/rc80211_minstrel_ht.c
index
d77a9a8
..
30fbabf
100644
(file)
--- a/
net/mac80211/rc80211_minstrel_ht.c
+++ b/
net/mac80211/rc80211_minstrel_ht.c
@@
-1137,7
+1137,7
@@
minstrel_ht_update_cck(struct minstrel_priv *mp, struct minstrel_ht_sta *mi,
{
int i;
{
int i;
- if (sband->band !=
IEEE
80211_BAND_2GHZ)
+ if (sband->band !=
NL
80211_BAND_2GHZ)
return;
if (!ieee80211_hw_check(mp->hw, SUPPORTS_HT_CCK_RATES))
return;
if (!ieee80211_hw_check(mp->hw, SUPPORTS_HT_CCK_RATES))
@@
-1335,7
+1335,7
@@
minstrel_ht_alloc_sta(void *priv, struct ieee80211_sta *sta, gfp_t gfp)
int max_rates = 0;
int i;
int max_rates = 0;
int i;
- for (i = 0; i <
IEEE80211_NUM
_BANDS; i++) {
+ for (i = 0; i <
NUM_NL80211
_BANDS; i++) {
sband = hw->wiphy->bands[i];
if (sband && sband->n_bitrates > max_rates)
max_rates = sband->n_bitrates;
sband = hw->wiphy->bands[i];
if (sband && sband->n_bitrates > max_rates)
max_rates = sband->n_bitrates;