device/connectivity: improve logging about cancelled connectivity check

There can be other reasons why the check was cancelled, not only because
the current item was obsoleted. For example, the caller who scheduled a
check externally, might have cancelled it or NMDevice might be
disposed().
This commit is contained in:
Thomas Haller 2018-04-20 10:39:42 +02:00
parent 89af7fbfa6
commit 8c30aa0e73

View file

@ -2542,9 +2542,9 @@ concheck_cb (NMConnectivity *connectivity,
if (nm_utils_error_is_cancelled (error, FALSE)) {
/* the only place where we nm_connectivity_check_cancel(@c_handle), is
* from inside concheck_handle_event(). This is a recursive call,
* from inside concheck_handle_complete(). This is a recursive call,
* nothing to do. */
_LOGT (LOGD_CONCHECK, "connectivity: complete check (seq:%llu, obsoleted by later request returning)",
_LOGT (LOGD_CONCHECK, "connectivity: complete check (seq:%llu, cancelled)",
(long long unsigned) handle->seq);
return;
}