monitor: Various style cleanups
This commit is contained in:
parent
214c89ba8b
commit
44301601ed
|
@ -393,13 +393,14 @@ static void print_ie_tim(unsigned int level, const char *label,
|
||||||
|
|
||||||
print_attr(level, "%s:", label);
|
print_attr(level, "%s:", label);
|
||||||
print_attr(level + 1, "DTIM count %2d %s", dtim[0],
|
print_attr(level + 1, "DTIM count %2d %s", dtim[0],
|
||||||
dtim[0]? "beacon frame(s)": "this beacon frame is DTIM");
|
dtim[0] ? "beacon frame(s)" :
|
||||||
|
"this beacon frame is DTIM");
|
||||||
print_attr(level + 1, "DTIM period %2d beacon frame(s)", dtim[1]);
|
print_attr(level + 1, "DTIM period %2d beacon frame(s)", dtim[1]);
|
||||||
|
|
||||||
print_attr(level + 1, "Group buffered %d offset %d",
|
print_attr(level + 1, "Group buffered %d offset %d",
|
||||||
!!(dtim[2] & 0x01), dtim[2] >> 1);
|
!!(dtim[2] & 0x01), dtim[2] >> 1);
|
||||||
|
|
||||||
len = size - 3;
|
len = size - 3;
|
||||||
|
|
||||||
for (t = 0; t < len ; t++) {
|
for (t = 0; t < len ; t++) {
|
||||||
if (((t + 1) % 4) == 1) {
|
if (((t + 1) % 4) == 1) {
|
||||||
pos = 0;
|
pos = 0;
|
||||||
|
|
Loading…
Reference in New Issue