wpa_supplicant: set regulatory domain the same way as hostapd
authorFelix Fietkau <nbd@openwrt.org>
Sun, 3 Jan 2016 20:56:57 +0000 (20:56 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 3 Jan 2016 20:56:57 +0000 (20:56 +0000)
commit74c36b9d2006199db7d79afe6420702b2731fc35
tree696e89fc60d974766b92cc19c4acfe6e726cf7ee
parent8e9eed344245571c7684216aebc38384b6c4be2d
wpa_supplicant: set regulatory domain the same way as hostapd

In sta-only configuration, wpa_supplicant needs correct regulatory
domain because otherwise it may skip channel of its AP during scan.

Another alternative is to fix "iw reg set" in mac80211 netifd script.
Currently it fails if some phy has private regulatory domain which
matches configured one.

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
SVN-Revision: 48099
package/network/services/hostapd/files/netifd.sh