projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac80211: make netifd script create AP interface directly
[librecmc/librecmc.git]
/
package
/
kernel
/
mac80211
/
files
/
lib
/
netifd
/
wireless
/
mac80211.sh
diff --git
a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 824c87ac15cd068edf9d3f0798c152b0d4be5f88..4f680a41f5132d882c55964c5b56fc51dc5ca050 100644
(file)
--- a/
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@
-447,7
+447,7
@@
mac80211_prepare_vif() {
mac80211_hostapd_setup_bss "$phy" "$ifname" "$macaddr" "$type" || return
[ -n "$hostapd_ctrl" ] || {
mac80211_hostapd_setup_bss "$phy" "$ifname" "$macaddr" "$type" || return
[ -n "$hostapd_ctrl" ] || {
- iw phy "$phy" interface add "$ifname" type
managed
+ iw phy "$phy" interface add "$ifname" type
__ap
hostapd_ctrl="${hostapd_ctrl:-/var/run/hostapd/$ifname}"
}
;;
hostapd_ctrl="${hostapd_ctrl:-/var/run/hostapd/$ifname}"
}
;;