diff options
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: |