[package] mac80211: add preliminary support for the AR913x SoCs
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 421-ath9k_print_correct_revision_of_an_unsupported_radio.patch
1 --- a/drivers/net/wireless/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath9k/hw.c
3 @@ -525,10 +525,10 @@ static int ath9k_hw_rf_claim(struct ath_
4 case AR_RAD2122_SREV_MAJOR:
5 break;
6 default:
7 - DPRINTF(ah->ah_sc, ATH_DBG_CHANNEL,
8 + DPRINTF(ah->ah_sc, ATH_DBG_FATAL,
9 "5G Radio Chip Rev 0x%02X is not "
10 "supported by this driver\n",
11 - ah->ah_analog5GhzRev);
12 + val);
13 return -EOPNOTSUPP;
14 }
15