aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/421-ath9k_print_correct_revision_of_an_unsupported_radio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/421-ath9k_print_correct_revision_of_an_unsupported_radio.patch')
-rw-r--r--package/mac80211/patches/421-ath9k_print_correct_revision_of_an_unsupported_radio.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/mac80211/patches/421-ath9k_print_correct_revision_of_an_unsupported_radio.patch b/package/mac80211/patches/421-ath9k_print_correct_revision_of_an_unsupported_radio.patch
new file mode 100644
index 0000000000..2637eaa36c
--- /dev/null
+++ b/package/mac80211/patches/421-ath9k_print_correct_revision_of_an_unsupported_radio.patch
@@ -0,0 +1,15 @@
+--- a/drivers/net/wireless/ath9k/hw.c
++++ b/drivers/net/wireless/ath9k/hw.c
+@@ -525,10 +525,10 @@ static int ath9k_hw_rf_claim(struct ath_
+ case AR_RAD2122_SREV_MAJOR:
+ break;
+ default:
+- DPRINTF(ah->ah_sc, ATH_DBG_CHANNEL,
++ DPRINTF(ah->ah_sc, ATH_DBG_FATAL,
+ "5G Radio Chip Rev 0x%02X is not "
+ "supported by this driver\n",
+- ah->ah_analog5GhzRev);
++ val);
+ return -EOPNOTSUPP;
+ }
+