From 9c515551f17493248cd287997d46d6d7e3203b1d Mon Sep 17 00:00:00 2001 From: Roel Kluin Date: Thu, 19 Feb 2009 11:36:41 +0100 Subject: [PATCH] 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 --- drivers/staging/rtl8187se/r8180_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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