https://bugzilla.novell.com/show_bug.cgi?id=389753
User tambet@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=389753#c23
--- Comment #23 from Tambet Ingo 2008-05-28 05:55:20 MDT ---
I think you're right. I'll ask Dan if he agrees with the following patch:
--- a/libnm-util/nm-setting-wireless.c
+++ b/libnm-util/nm-setting-wireless.c
@@ -169,7 +169,7 @@ nm_setting_wireless_ap_security_compatible
(NMSettingWireless *s_wireless,
if ((found = match_cipher (elt->data, "ccmp", ap_wpa,
ap_rsn, NM_802_11_AP_SEC_PAIR_CCMP)))
break;
}
- if (!found)
+ if (s_wireless_sec->pairwise && !found)
return FALSE;
/* Match at least one group cipher with AP's capability */
@@ -183,7 +183,7 @@ nm_setting_wireless_ap_security_compatible
(NMSettingWireless *s_wireless,
if ((found = match_cipher (elt->data, "ccmp", ap_wpa,
ap_rsn, NM_802_11_AP_SEC_GROUP_CCMP)))
break;
}
- if (!found)
+ if (s_wireless_sec->group && !found)
return FALSE;
return TRUE;
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.