[package] mac80211: add preliminary support for the AR913x SoCs
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 420-ath9k_use_signed_format_to_print_HAL_status.patch
1 From 1f5bc9c74fa57783483fda4e2f69ffc545d37994 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Mon, 29 Dec 2008 18:35:39 +0100
4 Subject: [PATCH] ath9k: use signed format to print HAL status
5
6
7 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
8 ---
9 drivers/net/wireless/ath9k/main.c | 2 +-
10 1 files changed, 1 insertions(+), 1 deletions(-)
11
12 --- a/drivers/net/wireless/ath9k/main.c
13 +++ b/drivers/net/wireless/ath9k/main.c
14 @@ -1317,7 +1317,7 @@ static int ath_init(u16 devid, struct at
15 ah = ath9k_hw_attach(devid, sc, sc->mem, &status);
16 if (ah == NULL) {
17 DPRINTF(sc, ATH_DBG_FATAL,
18 - "Unable to attach hardware; HAL status %u\n", status);
19 + "Unable to attach hardware; HAL status %d\n", status);
20 error = -ENXIO;
21 goto bad;
22 }