Re: WARNING at net/wireless/reg.c when wireless network is disconnected
From: Luis R. Rodriguez
Date: Thu Aug 05 2010 - 14:23:11 EST
On Wed, Aug 4, 2010 at 7:52 AM, John W. Linville <linville@xxxxxxxxxxxxx> wrote:
> On Wed, Aug 04, 2010 at 04:28:28PM +0200, Thomas BÃchler wrote:
>> Am 04.08.2010 15:49, schrieb John W. Linville:
>> > On Wed, Aug 04, 2010 at 01:36:23PM +0200, Thomas BÃchler wrote:
>> >> Hello,
>> >> this warning has been around ever since I switched to 2.6.34, has
>> >> accompanied me through the 2.6.35-rc* phase and is still there with
>> >> 2.6.35. I didn't bother to report it so far, as there seems to be no harm.
>> >> Whenever I disconnect/get disconnected from the wireless, I receive the
>> >> below warning:
>> >> ------------[ cut here ]------------
>> >> WARNING: at net/wireless/reg.c:272
>> >> regulatory_hint_disconnect+0x1b3/0x230 [cfg80211]()
>> >> Hardware name: TECRA A11
>> >> Unexpected user alpha2: de
>> > Perhaps you need to set the regdomain as "DE" rather than "de"?
>> > John
>> You are actually right. I did set it to "DE" with iw, but wpa_supplicant
>> had a setting country="de". I just fixed that and will soon see if the
>> problem disappears.
>> Still, the warning shouldn't look like a bad kernel bug, but rather an
>> advisory to the user to set something sane. What confuses me even more
>> is that this has been set to DE afterwards:
> Perhaps we should just upcase the alpha2 value? ÂI'm not sure why we don't.
It just needs to be implemented.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/