diff options
-rw-r--r-- | drivers/staging/rtl8187se/r8185b_init.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/rtl8187se/r8185b_init.c b/drivers/staging/rtl8187se/r8185b_init.c index 3726172b6fea..a827b30ac6f4 100644 --- a/drivers/staging/rtl8187se/r8185b_init.c +++ b/drivers/staging/rtl8187se/r8185b_init.c | |||
@@ -487,13 +487,13 @@ static void ZEBRA_Config_85BASIC_HardCode(struct net_device *dev) | |||
487 | /* For crystal calibration, added by Roger, 2007.12.11. */ | 487 | /* For crystal calibration, added by Roger, 2007.12.11. */ |
488 | if (priv->bXtalCalibration) { /* reg 30. */ | 488 | if (priv->bXtalCalibration) { /* reg 30. */ |
489 | /* | 489 | /* |
490 | * enable crystal calibration. | 490 | * enable crystal calibration. |
491 | * RF Reg[30], (1)Xin:[12:9], Xout:[8:5], addr[4:0]. | 491 | * RF Reg[30], (1)Xin:[12:9], Xout:[8:5], addr[4:0]. |
492 | * (2)PA Pwr delay timer[15:14], default: 2.4us, | 492 | * (2)PA Pwr delay timer[15:14], default: 2.4us, |
493 | * set BIT15=0 | 493 | * set BIT15=0 |
494 | * (3)RF signal on/off when calibration[13], default: on, | 494 | * (3)RF signal on/off when calibration[13], default: on, |
495 | * set BIT13=0. | 495 | * set BIT13=0. |
496 | * So we should minus 4 BITs offset. | 496 | * So we should minus 4 BITs offset. |
497 | */ | 497 | */ |
498 | RF_WriteReg(dev, 0x0f, (priv->XtalCal_Xin<<5) | | 498 | RF_WriteReg(dev, 0x0f, (priv->XtalCal_Xin<<5) | |
499 | (priv->XtalCal_Xout<<1) | BIT11 | BIT9); mdelay(1); | 499 | (priv->XtalCal_Xout<<1) | BIT11 | BIT9); mdelay(1); |
@@ -953,10 +953,10 @@ static void ActSetWirelessMode8185(struct net_device *dev, u8 btWirelessMode) | |||
953 | } | 953 | } |
954 | 954 | ||
955 | /* | 955 | /* |
956 | * 2. Swtich band: RF or BB specific actions, | 956 | * 2. Swtich band: RF or BB specific actions, |
957 | * for example, refresh tables in omc8255, or change initial gain if | 957 | * for example, refresh tables in omc8255, or change initial gain if |
958 | * necessary. Nothing to do for Zebra to switch band. Update current | 958 | * necessary. Nothing to do for Zebra to switch band. Update current |
959 | * wireless mode if we switch to specified band successfully. | 959 | * wireless mode if we switch to specified band successfully. |
960 | */ | 960 | */ |
961 | 961 | ||
962 | ieee->mode = (WIRELESS_MODE)btWirelessMode; | 962 | ieee->mode = (WIRELESS_MODE)btWirelessMode; |