Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337131
b: refs/heads/master
c: dbff11c
h: refs/heads/master
i:
  337129: 276d5b1
  337127: 89ae6db
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 22, 2012
1 parent 5e4b99c commit 5befc74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c5745cc0859b5a628d7c39530a953e3983e6c1c
refs/heads/master: dbff11c9d35ebd41268cf5137e0619509effd461
7 changes: 2 additions & 5 deletions trunk/drivers/staging/csr/data_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ uf_verify_m4(unifi_priv_t *priv, const unsigned char *packet, unsigned int lengt
u16 keyinfo;


if (length < (4 + 5 + 8 + 32 + 16 + 8 + 8 + 16 + 1 + 8)) {
if (length < (4 + 5 + 8 + 32 + 16 + 8 + 8 + 16 + 1 + 8))
return 1;
}

p += 8;
keyinfo = p[5] << 8 | p[6]; /* big-endian */
Expand All @@ -40,9 +39,7 @@ uf_verify_m4(unifi_priv_t *priv, const unsigned char *packet, unsigned int lengt
) {
unifi_trace(priv, UDBG1, "uf_verify_m4: M4 detected \n");
return 0;
}
else
{
} else {
return 1;
}
}
Expand Down

0 comments on commit 5befc74

Please sign in to comment.