diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-05-30 23:08:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-05-30 23:08:57 +0000 |
commit | fa2dfdb74ba62b779c3be496cb088c7f02d99878 (patch) | |
tree | 251b210334980647fbc04ea02b0d68675cb93e72 /target/linux/malta | |
parent | 677741ef959b303c61c0e6a2a66cad289fee3685 (diff) | |
download | upstream-fa2dfdb74ba62b779c3be496cb088c7f02d99878.tar.gz upstream-fa2dfdb74ba62b779c3be496cb088c7f02d99878.tar.bz2 upstream-fa2dfdb74ba62b779c3be496cb088c7f02d99878.zip |
mac80211: make netifd script create AP interface directly
Before starting hostapd we create interface for it. The problem is we
try to create STA interface just to let hostapd change it to AP later.
It may fail if device doesn't support STA interfaces or if we already
hit a limit. Consider following phy (it's from BCM43602 and brcmfmac):
$ iw phy phy0 info | tail
valid interface combinations:
* #{ IBSS, managed } <= 1, #{ AP } <= 4, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
total <= 3, #channels <= 1
Trying to setup 2 interfaces: STA + AP results in:
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): Configuration file: /var/run/hostapd-phy0.conf
radio0 (1101): Could not read interface wlan0-1 flags: No such device
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45856
Diffstat (limited to 'target/linux/malta')
0 files changed, 0 insertions, 0 deletions