We have a custom iMX6 based platform running Android JellyBean with Linux kernel 3.0.35 with a TiWi-BLE Wlan/Bluetooth device using the SDIO interface for WLAN.
To setup a wifi Access point used the following command after loading the necessary modules,
hostapd -dd /data/misc/wifi/hostapd.conf
Then I got this error,
wl1271: firmware booted (Rev 6.2.1.0.54)
chown[ctrl_interface]: Operation not permitted
wl1271: down
Here is sample of my hostapd.conf,
driver=nl80211
ctrl_interface=/dev/socket
ctrl_interface_group=0
hw_mode=g
ssid=AndroidAP
ieee80211d=1
Is this error is related to do with anything with the parameters in hostapd.conf file?