mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
0358bc293e
commit
9e7ba2465f
|
@ -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) */
|
||||
|
|
Loading…
Reference in New Issue