Staging: rtl8187se: ! x & y problem in inactive code
authorRoel Kluin <roel.kluin@gmail.com>
Thu, 19 Feb 2009 10:36:41 +0000 (11:36 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:30 +0000 (14:53 -0700)
Fix ! x & y problem in inactivated code

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/r8180_core.c

index ff1f23f..6ecd12d 100644 (file)
@@ -3161,7 +3161,7 @@ void rtl8180_prepare_beacon(struct net_device *dev)
                return ;
 
        }
-       //while(! *tail & (1<<31)){
+       //while(! (*tail & (1<<31))){
                *tail= 0; // zeroes header
 
                *tail = *tail| (1<<29) ; //fist segment of the packet