wpa_supplicant: set regulatory domain the same way as hostapd
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Jan 2016 20:56:57 +0000 (20:56 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Jan 2016 20:56:57 +0000 (20:56 +0000)
commit626af4e270c011dbfe8e5c31cdbcc929ac8598f9
treec182043d6aceb0e36a6b1a0229733ce35d921152
parent110549fd26af8746ce9262ceb22a7bbe352645ff
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48099 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/hostapd/files/netifd.sh