diff options
author | Anand Shekhawat <anandsingh215@yahoo.com> | 2020-05-22 16:01:47 +0530 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2024-02-27 11:13:41 +0000 |
commit | ee7c07ffe83141ec672256049eea48cb71e33281 (patch) | |
tree | 3e8343174bb3095744246dc22fb63ae20bca20c7 /net/mac80211/tx.c | |
parent | 252d88c7c4c8238661f99e3f17c47e3550aa5ed8 (diff) |
net/mac80211: fix an error
use of undeclared identifier 'IEEE80211_BAND_60GHZ'
https://github.com/shekhawat2/android_kernel_xiaomi_whyred/commit/3d14c7eaba381bc008794291267bb007ad12d1ab#diff-06d67238b2dbb0cb9b2ac8c3f3595319
fix nl80211
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |