From: Roel Kluin Date: Thu, 19 Feb 2009 10:36:41 +0000 (+0100) Subject: Staging: rtl8187se: ! x & y problem in inactive code X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9c515551f17493248cd287997d46d6d7e3203b1d;p=linux-beck.git Staging: rtl8187se: ! x & y problem in inactive code Fix ! x & y problem in inactivated code Signed-off-by: Roel Kluin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index ff1f23f99f27..6ecd12de4296 100644 --- a/drivers/staging/rtl8187se/r8180_core.c +++ b/drivers/staging/rtl8187se/r8180_core.c @@ -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