Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh...
[pandora-kernel.git] / drivers / staging / otus / 80211core / ccmd.c
index 3e3d9b5..ab300df 100644 (file)
@@ -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 };