hostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since r39995)
[openwrt.git] / package / network / services / hostapd / files / netifd.sh
index e6921ef..1232669 100644 (file)
@@ -254,6 +254,7 @@ hostapd_set_bss_options() {
 
        set_default wps_pushbutton 0
        set_default wps_label 0
+       set_default wps_pbc_in_m1 0
 
        config_methods=
        [ "$wps_pushbutton" -gt 0 ] && append config_methods push_button