]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/compat-wireless
Set cfg80211 region to EU
[people/pmueller/ipfire-2.x.git] / lfs / compat-wireless
index 24bc444e88c466ae75ddbeb8ea4c6d2f738d3cac..c9e40a5bd74e14c8ac08ab1aeb6c3c04076de5e2 100644 (file)
@@ -85,4 +85,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && sed -i -e "s|\t@# All the scripts|\nende:|g" Makefile
 
        cd $(DIR_APP) && make KLIB=/lib/modules/$(KVER)-$(VERSUFIX) KMODDIR=kernel install
+
+       # Set Regulatory Domain to "EU" (use Channel 1-14 max. 20db)
+       echo options cfg80211 ieee80211_regdom=EU > /etc/modprobe.d/cfg80211
        @$(POSTBUILD)