Loading wifi/1.6/default/wifi_chip.cpp +4 −3 Original line number Diff line number Diff line Loading @@ -1926,9 +1926,10 @@ uint32_t WifiChip::startIdxOfApIface() { // concurrent STA and not dual AP, else start with idx 0. std::string WifiChip::allocateApIfaceName() { // Check if we have a dedicated iface for AP. std::vector<std::string> ifnames = getPredefinedApIfaceNames(false); if (!ifnames.empty()) { return ifnames[0]; std::vector<std::string> ifnames = getPredefinedApIfaceNames(true); for (auto const& ifname : ifnames) { if (findUsingName(ap_ifaces_, ifname)) continue; return ifname; } return allocateApOrStaIfaceName(IfaceType::AP, startIdxOfApIface()); } Loading Loading
wifi/1.6/default/wifi_chip.cpp +4 −3 Original line number Diff line number Diff line Loading @@ -1926,9 +1926,10 @@ uint32_t WifiChip::startIdxOfApIface() { // concurrent STA and not dual AP, else start with idx 0. std::string WifiChip::allocateApIfaceName() { // Check if we have a dedicated iface for AP. std::vector<std::string> ifnames = getPredefinedApIfaceNames(false); if (!ifnames.empty()) { return ifnames[0]; std::vector<std::string> ifnames = getPredefinedApIfaceNames(true); for (auto const& ifname : ifnames) { if (findUsingName(ap_ifaces_, ifname)) continue; return ifname; } return allocateApOrStaIfaceName(IfaceType::AP, startIdxOfApIface()); } Loading