summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2013-12-03 11:14:21 +0100
committerThomas Haller <thaller@redhat.com>2013-12-12 11:33:17 +0100
commit3814179fb5bc2a09110ab7ef1858cd071a2288d8 (patch)
tree445597be1b40a35274f383ba96c26370ce4ee1fa
parent71cb57ba3556aabf908b01302f27c81760485612 (diff)
downloadNetworkManager-3814179fb5bc2a09110ab7ef1858cd071a2288d8.tar.gz
core: minor fix in find_active_ap when matching AP
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--src/devices/nm-device-wifi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device-wifi.c b/src/devices/nm-device-wifi.c
index 47da9dd78d..41c3678983 100644
--- a/src/devices/nm-device-wifi.c
+++ b/src/devices/nm-device-wifi.c
@@ -600,6 +600,7 @@ find_active_ap (NMDeviceWifi *self,
ap_bssid->ether_addr_octet[4], ap_bssid->ether_addr_octet[5]);
active_ap = match_nofreq;
+ goto done;
}
nm_log_dbg (LOGD_WIFI, " No matching AP found.");