From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis R. Rodriguez Date: Mon, 26 Jan 2009 09:33:46 -0800 Subject: [ath9k-devel] Country code or else hidden problem In-Reply-To: <200901261802.07025.darko@veze.net> References: <200901261802.07025.darko@veze.net> Message-ID: <20090126173346.GB19242@tesla> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Mon, Jan 26, 2009 at 09:02:06AM -0800, Darko wrote: > Hi, > > I have bought an DWA 547 card recently, after first unsuccessful try with > TP-link WN861N (same problem as > https://lists.ath9k.org/pipermail/ath9k-devel/2008-October/000450.html) > As client DWA 547 works ok ( didn't try 802.11n, have no such AP). > As AP followed instructions from http://wireless.erley.org/git.html > Kernel is 2.6.29-rc2-wl taken from git 24.01.2009 > hostapd is 0.6.7 > iw is 0.9.9 > OS is slackware 12.2 > > so: > #modprobe ath9k debug=0x00000080 Thanks for trying with this. > #dmesg > ... > [ 1019.585770] ath9k: 0.1 > [ 1019.585872] ath9k 0000:02:0a.0: PCI INT A -> Link[LNKF] -> GSI 11 (level, > low) -> IRQ 11 > [ 1020.011640] ath9k: Country alpha2 being used: &A This is fixed by the patch attached. From: Luis R. Rodriguez Date: Mon, 26 Jan 2009 06:41:48 -0800 Subject: [PATCH] ath9k: fix debug print on regd With debugging enabled and with ATH_DBG_REGULATORY selected we wouldn't get the full print out of one line, reason is we used "," instead of nothing to separate two lines. Signed-off-by: Luis R. Rodriguez --- drivers/net/wireless/ath9k/regd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath9k/regd.c b/drivers/net/wireless/ath9k/regd.c index 90f0c98..ec88f78 100644 --- a/drivers/net/wireless/ath9k/regd.c +++ b/drivers/net/wireless/ath9k/regd.c @@ -447,7 +447,7 @@ int ath9k_regd_init(struct ath_hal *ah) } DPRINTF(ah->ah_sc, ATH_DBG_REGULATORY, - "Country alpha2 being used: %c%c\n", + "Country alpha2 being used: %c%c\n" "Regpair detected: 0x%0x\n", ah->alpha2[0], ah->alpha2[1], ah->regpair->regDmnEnum); -- 1.5.6.4