2008-01-30 00:19:45

by Roel Kluin

[permalink] [raw]
Subject: [PATCH] [wireless/adm8211.h] logical/bitor typo

logical/bitor typo

Signed-off-by: Roel Kluin <[email protected]>
---
diff --git a/drivers/net/wireless/adm8211.h b/drivers/net/wireless/adm8211.h
index ef326fe..55ac768 100644
--- a/drivers/net/wireless/adm8211.h
+++ b/drivers/net/wireless/adm8211.h
@@ -266,7 +266,7 @@ do { \
#define ADM8211_SYNCTL_CS1 (1 << 28)
#define ADM8211_SYNCTL_CAL (1 << 27)
#define ADM8211_SYNCTL_SELCAL (1 << 26)
-#define ADM8211_SYNCTL_RFtype ((1 << 24) || (1 << 23) || (1 << 22))
+#define ADM8211_SYNCTL_RFtype ((1 << 24) | (1 << 23) | (1 << 22))
#define ADM8211_SYNCTL_RFMD (1 << 22)
#define ADM8211_SYNCTL_GENERAL (0x7 << 22)
/* SYNCTL 21:0 Data (Si4126: 18-bit data, 4-bit address) */


2008-01-30 04:50:48

by Michael Wu

[permalink] [raw]
Subject: Re: [PATCH] [wireless/adm8211.h] logical/bitor typo

On Tuesday 29 January 2008 19:19:40 Roel Kluin wrote:
> logical/bitor typo
>
> Signed-off-by: Roel Kluin <[email protected]>
Acked-by: Michael Wu <[email protected]>

Fortunately, this define is never actually used.

Thanks,
-Michael Wu


Attachments:
(No filename) (242.00 B)
signature.asc (194.00 B)
This is a digitally signed message part.
Download all attachments