Correct units on IEEE80211_RADIOTAP_DBM_ANTSIGNAL,

IEEE80211_RADIOTAP_DBM_ANTNOISE.
This commit is contained in:
dyoung 2006-08-06 17:52:17 +00:00
parent 2bc777d5d0
commit cc94fcb6e9
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: print-802_11.c,v 1.10 2006/03/18 02:15:03 elad Exp $ */
/* $NetBSD: print-802_11.c,v 1.11 2006/08/06 17:52:17 dyoung Exp $ */
/*
* Copyright (c) 2001
@ -28,7 +28,7 @@
static const char rcsid[] _U_ =
"@(#) Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.22.2.6 2003/12/10 09:52:33 guy Exp (LBL)";
#else
__RCSID("$NetBSD: print-802_11.c,v 1.10 2006/03/18 02:15:03 elad Exp $");
__RCSID("$NetBSD: print-802_11.c,v 1.11 2006/08/06 17:52:17 dyoung Exp $");
#endif
#endif
@ -1003,10 +1003,10 @@ print_radiotap_field(struct cpack_state *s, u_int32_t bit)
PRINT_RATE("", u.u8, " Mb/s ");
break;
case IEEE80211_RADIOTAP_DBM_ANTSIGNAL:
printf("%ddB signal ", u.i8);
printf("%ddBm signal ", u.i8);
break;
case IEEE80211_RADIOTAP_DBM_ANTNOISE:
printf("%ddB noise ", u.i8);
printf("%ddBm noise ", u.i8);
break;
case IEEE80211_RADIOTAP_DB_ANTSIGNAL:
printf("%ddB signal ", u.u8);