diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-10-06 14:33:14 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 22:33:51 +0200 |
commit | 9e7ba2465fd453429aa5849c2aadb526cda19034 (patch) | |
tree | 4c9f50a07280ffd220cfe2771d5efb6f64d7ee72 /drivers/net/wireless/adm8211.h | |
parent | iwlwifi: use %pM for formatted MAC addresses (diff) | |
download | linux-9e7ba2465fd453429aa5849c2aadb526cda19034.tar.xz linux-9e7ba2465fd453429aa5849c2aadb526cda19034.zip |
mac80211: fix ADM8211_SYNCTL_RFtype define
A logical of shifts to the left doesn't make sense.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/adm8211.h')
-rw-r--r-- | drivers/net/wireless/adm8211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/adm8211.h b/drivers/net/wireless/adm8211.h index 4f6ab1322189..b07e4d3a6b4d 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) */ |