Comment 16 for bug 336915

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Adding /usr/local/lib/crda/regulatory.bin as first in the search path was done to allow users to use a local alternative. It also looks in the /usr/lib/crda/regulatory.bin file, but the entries in the (optional) first file have a higher priority. This is done because sometimes the contents of /usr/lib are similar for lot of systems, so differences can only be placed in /usr/local.

If you don't get errors like "failed to open db file" that change ought to have no influence.

I've attached a diff of wireless-crda 1.6 compared to wireless-crda 1.5 so we can see if there is a change that caused this bug. The only changes that were made, were the addition of two regularity.bin paths -- and a check to see if there was actually one to read -- and adaptions to the Makefile, which include using the $(SBINDIR) variable instead of sbin and replacing the text $(SBINDIR) with the value of the variable $(SBINDIR) in the rules file.

Since Loïc Minier said the extra slash doesn't do any harm I'd like to ask you all if you're really sure the change fixed your setup or if it was something else. Did the change also fix it when you were using 1.6?
The only reason I can come up with is that the first slash misses, but that should be fixed as well in (at least) 1.10. Can anyone tell me if the first slash is missing in earlier versions?