Hi,
Can anybody help me to figure out the returning message "Could not set channel for kernel driver"? I tried to set up an AP on my IMX6 board. I have wl12xx_sdio module loaded. The linux BSP is LTIB with kernel 3.0.35. The wifi module is LS TiWi-R2 that using wl1271 driver.
I have stuck this issue for several days, nobody answers my question. I really need a help to go through this issue.
root@xpex ~$ ifconfig wlan0 up
wl1271: firmware booted (Rev 6.1.5.50.74)
root@xpex ~$ hostapd -B /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
wl1271: down
wl1271: firmware booted (Rev 6.2.1.0.54)
Could not set channel for kernel driver
wlan0: Unable to setup interface.
wl1271: down
I've tried using some other channels like channel 1, 2, 4, 6, and 11. But the results are the same "Could not set channel for kernel driver". I post my hostapd.conf file here for your review. Thanks,
interface=wlan0
ssid=mantis2
driver=nl80211
channel=1
country_code=US
hw_mode=g
ieee80211n=1