[network-manager-applet] fix comparison in last commit



commit 574977f56fffa5725a7418ab3247681a4c1fe47e
Author: Dan Williams <dcbw redhat com>
Date:   Sat May 9 23:43:09 2009 -0400

    fix comparison in last commit
---
 src/wireless-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/wireless-dialog.c b/src/wireless-dialog.c
index 9099ca4..664791f 100644
--- a/src/wireless-dialog.c
+++ b/src/wireless-dialog.c
@@ -761,7 +761,7 @@ security_combo_init (NMAWirelessDialog *self)
 			default_type = get_default_type_for_security (wsec, !!priv->ap, ap_flags, dev_caps);
 			if (default_type == NMU_SEC_STATIC_WEP)
 				wep_type = nm_setting_wireless_security_get_wep_key_type (wsec);
-			if (wep_type = NM_WEP_KEY_TYPE_UNKNOWN)
+			if (wep_type == NM_WEP_KEY_TYPE_UNKNOWN)
 				wep_type = NM_WEP_KEY_TYPE_KEY;
 		}
 	} else if (is_adhoc) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]