diff options
-rw-r--r-- | net/mac80211/mlme.c | 2 | ||||
-rw-r--r-- | net/mac80211/tx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index bae631cf549a..0d7d9fcd7b70 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -1345,7 +1345,7 @@ ieee80211_find_80211h_pwr_constr(struct ieee80211_sub_if_data *sdata, WARN_ON_ONCE(1); /* fall through */ case NL80211_BAND_2GHZ: - case IEEE80211_BAND_60GHZ: + case NL80211_BAND_60GHZ: chan_increment = 1; break; case NL80211_BAND_5GHZ: diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 5643de6d691c..6a6a778ca3ed 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -164,7 +164,7 @@ static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, if (r->flags & IEEE80211_RATE_MANDATORY_A) mrate = r->bitrate; break; - case IEEE80211_BAND_60GHZ: + case NL80211_BAND_60GHZ: /* TODO, for now fall through */ case NUM_NL80211_BANDS: WARN_ON(1); |