Ticket #4675: hostapd-country.diff
File hostapd-country.diff, 635 bytes (added by thomas@…, 9 years ago) |
---|
-
package/hostapd/files/hostapd.sh
76 76 config_get device "$vif" device 77 77 config_get channel "$device" channel 78 78 config_get hwmode "$device" hwmode 79 config_get country "$device" country 79 80 case "$hwmode" in 80 81 11a) hwmode=a;; 81 82 11b) hwmode=b;; … … 96 97 debug=0 97 98 wpa=$wpa 98 99 ${crypto:+wpa_pairwise=$crypto} 100 ${country:+country_code=$country} 99 101 $hostapd_cfg 100 102 EOF 101 103 hostapd -P /var/run/wifi-$ifname.pid -B /var/run/hostapd-$ifname.conf