Thread (16 messages) 16 messages, 5 authors, 2008-12-23

Re: [PATCH] crda: use strerror() to report error code verbosely

From: Luis R. Rodriguez <hidden>
Date: 2008-12-23 06:22:28

On Mon, Dec 22, 2008 at 10:20:37PM -0800, Pavel Roskin wrote:
Quoting "Luis R. Rodriguez" [off-list ref]:
quoted
You don't need to build this unless you want to define your own rules.
I see.
quoted
And if you do and want to use the signature stuff you need to copy the
RSA public key into pubkeys/ directory of CRDA. Did you try that?
No, I just wanted to install the most current regulatory database.
Perhaps the error message should be more clear.

With both CONFIG_CFG80211_REG_DEBUG, CONFIG_WIRELESS_OLD_REGULATORY
enabled and modular mac80211 and cfg80211, regdomain is set correctly
from udev:

[    7.642548] cfg80211: Using static regulatory domain info
[    7.642551] cfg80211: Regulatory domain: US
[    8.697261] cfg80211: Regulatory domain changed to country: US

However, changing it to anything doesn't work:

[root@ct proski]# COUNTRY=00 crda
Failed to set regulatory domain: -22
[root@ct proski]# COUNTRY=US crda
Failed to set regulatory domain: -22
[root@ct proski]# COUNTRY=DE crda
Failed to set regulatory domain: -22
[root@ct proski]#

Maybe it can only be set once?  But then -EBUSY would be more reasonable.
rm -rf on your wireless-regdb git tree and then git checkout -f. Then cp that regulatory.bin
to the REG_BIN location and try to build that CRDA. Then try that CRDA.

  Luis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help