3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

monitor: Various style cleanups

This commit is contained in:
Denis Kenzior 2014-12-15 16:19:29 -06:00
parent 214c89ba8b
commit 44301601ed

View File

@ -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;