* [PATCH] [wireless/adm8211.h] logical/bitor typo
@ 2008-01-30 0:19 Roel Kluin
2008-01-30 4:50 ` Michael Wu
0 siblings, 1 reply; 2+ messages in thread
From: Roel Kluin @ 2008-01-30 0:19 UTC (permalink / raw)
To: flamingice; +Cc: linux-wireless
logical/bitor typo
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
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) */
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-30 4:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30 0:19 [PATCH] [wireless/adm8211.h] logical/bitor typo Roel Kluin
2008-01-30 4:50 ` Michael Wu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.