core: don't require connection path for AddAndActivate

There is no path yet since we haven't added the connection yet.
This commit is contained in:
Dan Williams 2011-01-18 20:40:58 -06:00
parent 68ab26143b
commit 223c00fdee

View file

@ -716,7 +716,6 @@ pending_activation_new (NMManager *manager,
g_return_val_if_fail (authority != NULL, NULL);
g_return_val_if_fail (context != NULL, NULL);
g_return_val_if_fail (device_path != NULL, NULL);
g_return_val_if_fail (connection_path != NULL, NULL);
/* Create the partial connection from the given settings */
if (settings) {