From 3ca2ba872018676298e93170e597a50fe87e4e12 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 20 Nov 2017 19:29:37 -0600 Subject: Networking: short-circuit loop, if one is true that's all we need --- networkingpage.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/networkingpage.cc b/networkingpage.cc index f663e7e..9ff01aa 100644 --- a/networkingpage.cc +++ b/networkingpage.cc @@ -70,6 +70,7 @@ int NetworkingPage::nextId() const if(iface.is_wireless()) { tryWireless = true; + break; } } -- cgit v1.2.3-60-g2f50