aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/420-ath9k_use_signed_format_to_print_HAL_status.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/420-ath9k_use_signed_format_to_print_HAL_status.patch')
-rw-r--r--package/mac80211/patches/420-ath9k_use_signed_format_to_print_HAL_status.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/mac80211/patches/420-ath9k_use_signed_format_to_print_HAL_status.patch b/package/mac80211/patches/420-ath9k_use_signed_format_to_print_HAL_status.patch
new file mode 100644
index 0000000000..f254007dd5
--- /dev/null
+++ b/package/mac80211/patches/420-ath9k_use_signed_format_to_print_HAL_status.patch
@@ -0,0 +1,22 @@
+From 1f5bc9c74fa57783483fda4e2f69ffc545d37994 Mon Sep 17 00:00:00 2001
+From: Gabor Juhos <juhosg@openwrt.org>
+Date: Mon, 29 Dec 2008 18:35:39 +0100
+Subject: [PATCH] ath9k: use signed format to print HAL status
+
+
+Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
+---
+ drivers/net/wireless/ath9k/main.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+--- a/drivers/net/wireless/ath9k/main.c
++++ b/drivers/net/wireless/ath9k/main.c
+@@ -1317,7 +1317,7 @@ static int ath_init(u16 devid, struct at
+ ah = ath9k_hw_attach(devid, sc, sc->mem, &status);
+ if (ah == NULL) {
+ DPRINTF(sc, ATH_DBG_FATAL,
+- "Unable to attach hardware; HAL status %u\n", status);
++ "Unable to attach hardware; HAL status %d\n", status);
+ error = -ENXIO;
+ goto bad;
+ }