diff --git a/src/settings/nm-settings-connection.c b/src/settings/nm-settings-connection.c index 63b6a09b19..d20dbc9846 100644 --- a/src/settings/nm-settings-connection.c +++ b/src/settings/nm-settings-connection.c @@ -1815,7 +1815,6 @@ nm_settings_connection_add_seen_bssid (NMSettingsConnection *connection, /* Add the new BSSID; let the hash take ownership of the allocated BSSID string */ bssid_str = nm_utils_hwaddr_ntoa (seen_bssid, ARPHRD_ETHER); - g_return_if_fail (bssid_str != NULL); g_hash_table_insert (priv->seen_bssids, mac_dup (seen_bssid), bssid_str); /* Build up a list of all the BSSIDs in string form */