diff options
author | David S. Miller <davem@davemloft.net> | 2016-04-13 17:58:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-13 17:58:51 -0400 |
commit | 71bbe25d01fa4f35551ff7bffc3e03ddd3e960cd (patch) | |
tree | d32c77e506192ef0ba62a10e92aac410eccaa575 /drivers/net/wireless/ath/ath5k/debug.c | |
parent | 7d45a04cbc2683f9552572850f1c711d9b96dd26 (diff) | |
parent | 57fbcce37be7c1d2622b56587c10ade00e96afa3 (diff) |
Merge tag 'mac80211-next-for-davem-2016-04-13' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Johannes Berg says:
====================
To synchronize with Kalle, here's just a big change that affects
all drivers - removing the duplicated enum ieee80211_band and
replacing it by enum nl80211_band. On top of that, just a small
documentation update.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath5k/debug.c b/drivers/net/wireless/ath/ath5k/debug.c index 654a1e33f827..929d7ccc031c 100644 --- a/drivers/net/wireless/ath/ath5k/debug.c +++ b/drivers/net/wireless/ath/ath5k/debug.c | |||
@@ -1043,14 +1043,14 @@ ath5k_debug_dump_bands(struct ath5k_hw *ah) | |||
1043 | 1043 | ||
1044 | BUG_ON(!ah->sbands); | 1044 | BUG_ON(!ah->sbands); |
1045 | 1045 | ||
1046 | for (b = 0; b < IEEE80211_NUM_BANDS; b++) { | 1046 | for (b = 0; b < NUM_NL80211_BANDS; b++) { |
1047 | struct ieee80211_supported_band *band = &ah->sbands[b]; | 1047 | struct ieee80211_supported_band *band = &ah->sbands[b]; |
1048 | char bname[6]; | 1048 | char bname[6]; |
1049 | switch (band->band) { | 1049 | switch (band->band) { |
1050 | case IEEE80211_BAND_2GHZ: | 1050 | case NL80211_BAND_2GHZ: |
1051 | strcpy(bname, "2 GHz"); | 1051 | strcpy(bname, "2 GHz"); |
1052 | break; | 1052 | break; |
1053 | case IEEE80211_BAND_5GHZ: | 1053 | case NL80211_BAND_5GHZ: |
1054 | strcpy(bname, "5 GHz"); | 1054 | strcpy(bname, "5 GHz"); |
1055 | break; | 1055 | break; |
1056 | default: | 1056 | default: |