All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Country code or else hidden problem
Date: Mon, 26 Jan 2009 09:33:46 -0800	[thread overview]
Message-ID: <20090126173346.GB19242@tesla> (raw)
In-Reply-To: <200901261802.07025.darko@veze.net>

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 <lrodriguez@atheros.com>
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 <lrodriguez@atheros.com>
---
 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

  reply	other threads:[~2009-01-26 17:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-26 17:02 [ath9k-devel] Country code or else hidden problem Darko
2009-01-26 17:33 ` Luis R. Rodriguez [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-26 19:54 Darko
2009-01-26 21:53 ` Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090126173346.GB19242@tesla \
    --to=lrodriguez@atheros.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.