Print out last time AP was seen
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@924 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -792,10 +792,11 @@ void nm_ap_list_print_members (NMAccessPointList *list, const char *name)
|
||||
while ((ap = nm_ap_list_iter_next (iter)))
|
||||
{
|
||||
const GTimeVal *timestamp = nm_ap_get_timestamp (ap);
|
||||
nm_warning ("\t%d)\tobj=%p, essid='%s', timestamp=%ld, key='%s', enc=%d, addr=%p, strength=%d, %s=%f, rate=%d, inval=%d, mode=%d",
|
||||
const GTimeVal *seen = nm_ap_get_last_seen (ap);
|
||||
nm_warning ("\t%d)\tobj=%p, essid='%s', timestamp=%ld, key='%s', enc=%d, addr=%p, strength=%d, %s=%f, rate=%d, inval=%d, mode=%d, seen=%ld",
|
||||
i, ap, nm_ap_get_essid (ap), timestamp->tv_sec, nm_ap_get_enc_key_source (ap), nm_ap_get_encrypted (ap),
|
||||
nm_ap_get_address (ap), nm_ap_get_strength (ap), (nm_ap_get_freq (ap) < 20) ? "channel" : "freq", nm_ap_get_freq (ap), nm_ap_get_rate (ap),
|
||||
nm_ap_get_invalid (ap), nm_ap_get_mode (ap));
|
||||
nm_ap_get_invalid (ap), nm_ap_get_mode (ap), seen->tv_sec);
|
||||
i++;
|
||||
}
|
||||
nm_warning ("AP_LIST_PRINT: done");
|
||||
|
Reference in New Issue
Block a user