I want to scan networks when our devices is in Access Point. When the device is in client mode, it works, but i cannot scan networks if hostapd is running as Access Point:
Try 1:
pi $ sudo iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Operation not supported
Try 2:
pi $ sudo iw dev wlan0 scan
command failed: Operation not supported (-95)
Any ideas?