mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 06:20:28 +01:00
wifi: fix stop condition of EAP method check while loop
This commit is contained in:
parent
c379df568c
commit
b0e6033ba9
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ get_eap_methods_reply (DBusGProxy *proxy,
|
|||
G_TYPE_INVALID)) {
|
||||
if (G_VALUE_HOLDS (&value, G_TYPE_STRV)) {
|
||||
iter = g_value_get_boxed (&value);
|
||||
while (iter) {
|
||||
while (iter && *iter) {
|
||||
if (strcasecmp (*iter++, "FAST") == 0) {
|
||||
priv->fast_supported = TRUE;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue