wpa_supplicant: Fix mesh encryption config
[openwrt/openwrt.git] / package / network / services / hostapd / files / wps-hotplug.sh
1 #!/bin/sh
2
3 if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
4 cd /var/run/hostapd
5 for socket in *; do
6 [ -S "$socket" ] || continue
7 hostapd_cli -i "$socket" wps_pbc
8 done
9 fi
10
11 return 0