On 2012-05-19 12:18 PM, Tobias Diedrich wrote: > Avoid "ifconfig down" if the macaddr is not going to change. > > For wireless interfaces, downing the interface after hostapd has > been started is unsupported and not guaranteed to work at all, but > that is exactly was OpenWRT does right now (maybe not for netifd). > > And in this case it was alrady set by enable_mac80211 before hostapd > was started, so it's not going to change in prepare_interface. > > Quoting Johannes Berg: > "Wow, ok, setting the interface down while the AP is up really isn't > a valid use of it. I'm actually amazed that it ever works at all > when you do this. Either this should be done the other way around, > or hostapd needs to get some smarts about it. For example, with the > start-AP function transition, I'm not sure even *beacon* after you > do this..." This code is no longer used by default (replaced by netifd), and will be removed at some point.
- Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel