Asking about execv() in os_exec()
Nicolas Cavallari
Nicolas.Cavallari
Wed Aug 5 23:55:51 PDT 2015
On 06/08/2015 07:14, ??? wrote:
> The commands are like below.
> =>
> :
> Executing wpa_cli -ip2p0 -g at android:wpa_wlan0 -p/data/misc/wifi/sockets -a/data/sbin/cli-action.sh &
> Executing wpa_cli -ip2p0 -g at android:wpa_wlan0 -p/data/misc/wifi/sockets p2p_connect 02:03:7f:10:4e:fd 12345670 display freq=2442 > /data/misc/wifi/cli_status
> execv: Exec format error
To me, it means that the script does not start with a shebang (i.e.
#!/bin/sh ) so the kernel is unable to execute it.
More information about the Hostap
mailing list