git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: otus: 80211core: Hoist assign from if
[safe/jmp/linux-2.6]
/
drivers
/
staging
/
otus
/
80211core
/
ccmd.c
diff --git
a/drivers/staging/otus/80211core/ccmd.c
b/drivers/staging/otus/80211core/ccmd.c
index
3e3d9b5
..
ab300df
100644
(file)
--- a/
drivers/staging/otus/80211core/ccmd.c
+++ b/
drivers/staging/otus/80211core/ccmd.c
@@
-1436,7
+1436,8
@@
u16_t zfiWlanDeauth(zdev_t *dev, u16_t *macAddr, u16_t reason)
*/
/*
- if ((id = zfApFindSta(dev, macAddr)) != 0xffff)
+ id = zfApFindSta(dev, macAddr);
+ if (id != 0xffff)
{
u32_t key[8];
u16_t nullAddr[3] = { 0x0, 0x0, 0x0 };