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)
commit06a2914b11fbf101e110e8bd697ad957c7655915
treec182043d6aceb0e36a6b1a0229733ce35d921152
parentfa767c2082558737f51883bc5cd0334dd20a9a60
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