mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Change "switch(" to "switch ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
8e22f0d2e8
commit
c818db1282
35 changed files with 170 additions and 170 deletions
|
@ -381,7 +381,7 @@ odm_ARFBRefresh_8188E(
|
|||
u32 MaskFromReg;
|
||||
s8 i;
|
||||
|
||||
switch(pRaInfo->RateID){
|
||||
switch (pRaInfo->RateID){
|
||||
case RATR_INX_WIRELESS_NGB:
|
||||
pRaInfo->RAUseRate=(pRaInfo->RateMask)&0x0f8ff015;
|
||||
break;
|
||||
|
|
|
@ -107,7 +107,7 @@ u8 MRateToHwRate(u8 rate)
|
|||
{
|
||||
u8 ret = DESC_RATE1M;
|
||||
|
||||
switch(rate)
|
||||
switch (rate)
|
||||
{
|
||||
/* CCK and OFDM non-HT rates */
|
||||
case IEEE80211_CCK_RATE_1MB: ret = DESC_RATE1M; break;
|
||||
|
@ -153,7 +153,7 @@ void HalSetBrateCfg(
|
|||
|
||||
if ( is_brate )
|
||||
{
|
||||
switch(brate)
|
||||
switch (brate)
|
||||
{
|
||||
case IEEE80211_CCK_RATE_1MB: *pBrateCfg |= RATE_1M; break;
|
||||
case IEEE80211_CCK_RATE_2MB: *pBrateCfg |= RATE_2M; break;
|
||||
|
@ -292,7 +292,7 @@ Hal_MappingOutPipe(
|
|||
|
||||
bool result = true;
|
||||
|
||||
switch(NumOutPipe)
|
||||
switch (NumOutPipe)
|
||||
{
|
||||
case 2:
|
||||
_TwoOutPipeMapping(pAdapter, bWIFICfg);
|
||||
|
@ -387,7 +387,7 @@ SetHalDefVar(struct adapter *adapter, enum HAL_DEF_VARIABLE variable, void *valu
|
|||
PDM_ODM_T pDM_Odm = &(pHalData->odmpriv);
|
||||
u8 bResult = _SUCCESS;
|
||||
|
||||
switch(variable) {
|
||||
switch (variable) {
|
||||
case HW_DEF_FA_CNT_DUMP:
|
||||
if (*((u8*)value))
|
||||
pDM_Odm->DebugComponents |= (ODM_COMP_DIG |ODM_COMP_FA_CNT);
|
||||
|
@ -416,7 +416,7 @@ GetHalDefVar(struct adapter *adapter, enum HAL_DEF_VARIABLE variable, void *valu
|
|||
PDM_ODM_T pDM_Odm = &(pHalData->odmpriv);
|
||||
u8 bResult = _SUCCESS;
|
||||
|
||||
switch(variable) {
|
||||
switch (variable) {
|
||||
case HW_DEF_ODM_DBG_FLAG:
|
||||
*((u64*)value) = pDM_Odm->DebugComponents;
|
||||
break;
|
||||
|
|
|
@ -1172,7 +1172,7 @@ ODM_Write_DIG(
|
|||
if (pDM_Odm->SupportICType != ODM_RTL8188E)
|
||||
ODM_SetBBReg(pDM_Odm, ODM_REG(IGI_B,pDM_Odm), ODM_BIT(IGI,pDM_Odm), CurrentIGI);
|
||||
} else if (pDM_Odm->SupportPlatform & (ODM_AP|ODM_ADSL)) {
|
||||
switch(*(pDM_Odm->pOnePathCCA)) {
|
||||
switch (*(pDM_Odm->pOnePathCCA)) {
|
||||
case ODM_CCA_2R:
|
||||
ODM_SetBBReg(pDM_Odm, ODM_REG(IGI_A,pDM_Odm), ODM_BIT(IGI,pDM_Odm), CurrentIGI);
|
||||
if (pDM_Odm->SupportICType != ODM_RTL8188E)
|
||||
|
@ -2257,7 +2257,7 @@ u32 ODM_Get_Rate_Bitmap(
|
|||
|
||||
WirelessMode = pEntry->wireless_mode;
|
||||
|
||||
switch(WirelessMode)
|
||||
switch (WirelessMode)
|
||||
{
|
||||
case ODM_WM_B:
|
||||
if (ra_mask & 0x0000000c) /* 11M or 5.5M enable */
|
||||
|
|
|
@ -279,7 +279,7 @@ odm_RxPhyStatus92CSeries_Parsing(
|
|||
if (pDM_Odm->SupportICType & (ODM_RTL8188E|ODM_RTL8812)) {
|
||||
LNA_idx = ((cck_agc_rpt & 0xE0) >>5);
|
||||
VGA_idx = (cck_agc_rpt & 0x1F);
|
||||
switch(LNA_idx) {
|
||||
switch (LNA_idx) {
|
||||
case 7:
|
||||
if (VGA_idx <= 27)
|
||||
rx_pwr_all = -100 + 2*(27-VGA_idx); /* VGA_idx = 27~2 */
|
||||
|
@ -330,7 +330,7 @@ odm_RxPhyStatus92CSeries_Parsing(
|
|||
if (!cck_highpwr)
|
||||
{
|
||||
report =( cck_agc_rpt & 0xc0 )>>6;
|
||||
switch(report)
|
||||
switch (report)
|
||||
{
|
||||
/* 03312009 modified by cosa */
|
||||
/* Modify the RF RNA gain value to -40, -20, -2, 14 by Jenyu's suggestion */
|
||||
|
@ -355,7 +355,7 @@ odm_RxPhyStatus92CSeries_Parsing(
|
|||
/* report = pPhyStaRpt->cck_agc_rpt_ofdm_cfosho_a& 0x60; */
|
||||
|
||||
report = (cck_agc_rpt & 0x60)>>5;
|
||||
switch(report)
|
||||
switch (report)
|
||||
{
|
||||
case 0x3:
|
||||
rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f)<<1) ;
|
||||
|
|
|
@ -256,7 +256,7 @@ void rtl8188e_set_FwPwrMode_cmd(struct adapter *padapter, u8 Mode)
|
|||
|
||||
H2CSetPwrMode.AwakeInterval = 2; /* DTIM =1 */
|
||||
|
||||
switch(Mode)
|
||||
switch (Mode)
|
||||
{
|
||||
case PS_MODE_ACTIVE:
|
||||
H2CSetPwrMode.Mode = 0;
|
||||
|
@ -493,7 +493,7 @@ static void ConstructNullFunctionData(
|
|||
SetPwrMgt(fctrl);
|
||||
}
|
||||
|
||||
switch(cur_network->network.InfrastructureMode)
|
||||
switch (cur_network->network.InfrastructureMode)
|
||||
{
|
||||
case Ndis802_11Infrastructure:
|
||||
SetToDs(fctrl);
|
||||
|
@ -854,7 +854,7 @@ void rtl8188e_set_p2p_ps_offload_cmd(struct adapter* padapter, u8 p2p_ps_state)
|
|||
struct P2P_PS_Offload_t *p2p_ps_offload = &pHalData->p2p_ps_offload;
|
||||
u8 i;
|
||||
|
||||
switch(p2p_ps_state)
|
||||
switch (p2p_ps_state)
|
||||
{
|
||||
case P2P_PS_DISABLE:
|
||||
DBG_8192C("P2P_PS_DISABLE\n");
|
||||
|
|
|
@ -1265,7 +1265,7 @@ Hal_EfuseSwitchToBank(
|
|||
{
|
||||
value32 = rtw_read32(pAdapter, EFUSE_TEST);
|
||||
bRet = true;
|
||||
switch(bank)
|
||||
switch (bank)
|
||||
{
|
||||
case 0:
|
||||
value32 = (value32 & ~EFUSE_SEL_MASK) | EFUSE_SEL(EFUSE_WIFI_SEL_0);
|
||||
|
@ -1392,7 +1392,7 @@ static void Hal_EFUSEGetEfuseDefinition88E(
|
|||
void * pOut
|
||||
)
|
||||
{
|
||||
switch(type) {
|
||||
switch (type) {
|
||||
case TYPE_EFUSE_MAX_SECTION:
|
||||
{
|
||||
u8* pMax_section;
|
||||
|
@ -1459,7 +1459,7 @@ static void Hal_EFUSEGetEfuseDefinition_Pseudo88E(
|
|||
void * pOut
|
||||
)
|
||||
{
|
||||
switch(type)
|
||||
switch (type)
|
||||
{
|
||||
case TYPE_EFUSE_MAX_SECTION:
|
||||
{
|
||||
|
@ -2549,7 +2549,7 @@ static void rtl8188e_GetHalODMVar(
|
|||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
PDM_ODM_T podmpriv = &pHalData->odmpriv;
|
||||
switch(eVariable){
|
||||
switch (eVariable){
|
||||
case HAL_ODM_STA_INFO:
|
||||
break;
|
||||
default:
|
||||
|
@ -2566,7 +2566,7 @@ static void rtl8188e_SetHalODMVar(
|
|||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
PDM_ODM_T podmpriv = &pHalData->odmpriv;
|
||||
/* _irqL irqL; */
|
||||
switch(eVariable){
|
||||
switch (eVariable){
|
||||
case HAL_ODM_STA_INFO:
|
||||
{
|
||||
struct sta_info *psta = (struct sta_info *)pValue1;
|
||||
|
@ -2853,7 +2853,7 @@ Hal_EEValueCheck(
|
|||
void * pOutValue
|
||||
)
|
||||
{
|
||||
switch(EEType)
|
||||
switch (EEType)
|
||||
{
|
||||
case EETYPE_TX_PWR:
|
||||
{
|
||||
|
|
|
@ -1273,7 +1273,7 @@ PHY_CheckBBAndRFOK(
|
|||
/* */
|
||||
/* Write Data to register and readback */
|
||||
/* */
|
||||
switch(CheckBlock)
|
||||
switch (CheckBlock)
|
||||
{
|
||||
case HW90_BLOCK_MAC:
|
||||
/* RT_ASSERT(false, ("PHY_CheckBBRFOK(): Never Write 0x100 here!")); */
|
||||
|
@ -1372,7 +1372,7 @@ phy_DbmToTxPwrIdx(
|
|||
/* The mapping may be different by different NICs. Do not use this formula for what needs accurate result. */
|
||||
/* By Bruce, 2008-01-29. */
|
||||
/* */
|
||||
switch(WirelessMode)
|
||||
switch (WirelessMode)
|
||||
{
|
||||
case WIRELESS_MODE_B:
|
||||
Offset = -7;
|
||||
|
@ -1426,7 +1426,7 @@ phy_TxPwrIdxToDbm(
|
|||
/* The mapping may be different by different NICs. Do not use this formula for what needs accurate result. */
|
||||
/* By Bruce, 2008-01-29. */
|
||||
/* */
|
||||
switch(WirelessMode) {
|
||||
switch (WirelessMode) {
|
||||
case WIRELESS_MODE_B:
|
||||
Offset = -7;
|
||||
break;
|
||||
|
@ -1726,7 +1726,7 @@ _PHY_SetBWMode92C(
|
|||
regBwOpMode = rtw_read8(Adapter, REG_BWOPMODE);
|
||||
regRRSR_RSC = rtw_read8(Adapter, REG_RRSR+2);
|
||||
|
||||
switch(pHalData->CurrentChannelBW) {
|
||||
switch (pHalData->CurrentChannelBW) {
|
||||
case HT_CHANNEL_WIDTH_20:
|
||||
regBwOpMode |= BW_OPMODE_20MHZ;
|
||||
/* 2007/02/07 Mark by Emily becasue we have not verify whether this register works */
|
||||
|
@ -1751,7 +1751,7 @@ _PHY_SetBWMode92C(
|
|||
/* 3 */
|
||||
/* 3<2>Set PHY related register */
|
||||
/* 3 */
|
||||
switch(pHalData->CurrentChannelBW)
|
||||
switch (pHalData->CurrentChannelBW)
|
||||
{
|
||||
/* 20 MHz channel*/
|
||||
case HT_CHANNEL_WIDTH_20:
|
||||
|
@ -1793,7 +1793,7 @@ _PHY_SetBWMode92C(
|
|||
/* RT_TRACE(COMP_SCAN, DBG_LOUD, ("SetBWModeCallback8190Pci: time of SetBWMode = %I64d us!\n", (EndTime - BeginTime))); */
|
||||
|
||||
/* 3<3>Set RF related register */
|
||||
switch(pHalData->rf_chip)
|
||||
switch (pHalData->rf_chip)
|
||||
{
|
||||
case RF_8225:
|
||||
/* PHY_SetRF8225Bandwidth(Adapter, pHalData->CurrentChannelBW); */
|
||||
|
@ -1933,7 +1933,7 @@ PHY_SwChnl8188E( /* Call after initialization */
|
|||
/* return; */
|
||||
|
||||
/* */
|
||||
switch(pHalData->CurrentWirelessMode)
|
||||
switch (pHalData->CurrentWirelessMode)
|
||||
{
|
||||
case WIRELESS_MODE_A:
|
||||
case WIRELESS_MODE_N_5G:
|
||||
|
|
|
@ -120,7 +120,7 @@ rtl8188e_PHY_RF6052SetBandwidth(
|
|||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
|
||||
switch(Bandwidth)
|
||||
switch (Bandwidth)
|
||||
{
|
||||
case HT_CHANNEL_WIDTH_20:
|
||||
pHalData->RfRegChnlVal[0] = ((pHalData->RfRegChnlVal[0] & 0xfffff3ff) | BIT(10) | BIT(11));
|
||||
|
@ -337,7 +337,7 @@ static void getTxPowerWriteValByRegulatory88E(
|
|||
/* Index 0 & 1= legacy OFDM, 2-5=HT_MCS rate */
|
||||
/* */
|
||||
for(rf=0; rf<2; rf++) {
|
||||
switch(Regulatory) {
|
||||
switch (Regulatory) {
|
||||
case 0: /* Realtek better performance */
|
||||
/* increase power diff defined by Realtek for large power */
|
||||
chnlGroup = 0;
|
||||
|
@ -617,7 +617,7 @@ phy_RF6052_Config_ParaFile(
|
|||
pPhyReg = &pHalData->PHYRegDef[eRFPath];
|
||||
|
||||
/*----Store original RFENV control type----*/
|
||||
switch(eRFPath)
|
||||
switch (eRFPath)
|
||||
{
|
||||
case RF_PATH_A:
|
||||
case RF_PATH_C:
|
||||
|
@ -645,7 +645,7 @@ phy_RF6052_Config_ParaFile(
|
|||
rtw_udelay_os(1);/* PlatformStallExecution(1); */
|
||||
|
||||
/*----Initialize RF fom connfiguration file----*/
|
||||
switch(eRFPath)
|
||||
switch (eRFPath)
|
||||
{
|
||||
case RF_PATH_A:
|
||||
if (HAL_STATUS_FAILURE ==ODM_ConfigRFWithHeaderFile(&pHalData->odmpriv,(ODM_RF_RADIO_PATH_E)eRFPath, (ODM_RF_RADIO_PATH_E)eRFPath))
|
||||
|
@ -662,7 +662,7 @@ phy_RF6052_Config_ParaFile(
|
|||
}
|
||||
|
||||
/*----Restore RFENV control type----*/;
|
||||
switch(eRFPath)
|
||||
switch (eRFPath)
|
||||
{
|
||||
case RF_PATH_A:
|
||||
case RF_PATH_C:
|
||||
|
|
|
@ -58,7 +58,7 @@ SwLedOn(
|
|||
}
|
||||
|
||||
LedCfg = rtw_read8(padapter, REG_LEDCFG2);
|
||||
switch(pLed->LedPin)
|
||||
switch (pLed->LedPin)
|
||||
{
|
||||
case LED_PIN_LED0:
|
||||
rtw_write8(padapter, REG_LEDCFG2, (LedCfg&0xf0)|BIT5|BIT6); /* SW control led0 on. */
|
||||
|
@ -97,7 +97,7 @@ SwLedOff(
|
|||
|
||||
LedCfg = rtw_read8(padapter, REG_LEDCFG2);/* 0x4E */
|
||||
|
||||
switch(pLed->LedPin)
|
||||
switch (pLed->LedPin)
|
||||
{
|
||||
case LED_PIN_LED0:
|
||||
if (pHalData->bLedOpenDrain == true) /* Open-drain arrangement for controlling the LED) */
|
||||
|
|
|
@ -150,7 +150,7 @@ static void fill_txdesc_sectype(struct pkt_attrib *pattrib, struct tx_desc *ptxd
|
|||
|
||||
static void fill_txdesc_vcs(struct pkt_attrib *pattrib, __le32 *pdw)
|
||||
{
|
||||
switch(pattrib->vcs_mode)
|
||||
switch (pattrib->vcs_mode)
|
||||
{
|
||||
case RTS_CTS:
|
||||
*pdw |= cpu_to_le32(RTS_EN);
|
||||
|
|
|
@ -50,7 +50,7 @@ _ConfigNormalChipOutEP_8188E(
|
|||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
|
||||
switch(NumOutPipe){
|
||||
switch (NumOutPipe){
|
||||
case 3:
|
||||
pHalData->OutEpQueueSel=TX_SELE_HQ| TX_SELE_LQ|TX_SELE_NQ;
|
||||
pHalData->OutEpNumber=3;
|
||||
|
@ -450,7 +450,7 @@ _InitNormalChipOneOutEpPriority(
|
|||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
|
||||
u16 value = 0;
|
||||
switch(pHalData->OutEpQueueSel)
|
||||
switch (pHalData->OutEpQueueSel)
|
||||
{
|
||||
case TX_SELE_HQ:
|
||||
value = QUEUE_HIGH;
|
||||
|
@ -490,7 +490,7 @@ _InitNormalChipTwoOutEpPriority(
|
|||
u16 valueHi = 0;
|
||||
u16 valueLow = 0;
|
||||
|
||||
switch(pHalData->OutEpQueueSel)
|
||||
switch (pHalData->OutEpQueueSel)
|
||||
{
|
||||
case (TX_SELE_HQ | TX_SELE_LQ):
|
||||
valueHi = QUEUE_HIGH;
|
||||
|
@ -564,7 +564,7 @@ _InitQueuePriority(
|
|||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
|
||||
switch(pHalData->OutEpNumber)
|
||||
switch (pHalData->OutEpNumber)
|
||||
{
|
||||
case 1:
|
||||
_InitNormalChipOneOutEpPriority(Adapter);
|
||||
|
@ -844,7 +844,7 @@ usb_AggSettingRxUpdate(
|
|||
valueDMA = rtw_read8(Adapter, REG_TRXDMA_CTRL);
|
||||
valueUSB = rtw_read8(Adapter, REG_USB_SPECIAL_OPTION);
|
||||
|
||||
switch(pHalData->UsbRxAggMode)
|
||||
switch (pHalData->UsbRxAggMode)
|
||||
{
|
||||
case USB_RX_AGG_DMA:
|
||||
valueDMA |= RXDMA_AGG_EN;
|
||||
|
@ -868,7 +868,7 @@ usb_AggSettingRxUpdate(
|
|||
rtw_write8(Adapter, REG_TRXDMA_CTRL, valueDMA);
|
||||
rtw_write8(Adapter, REG_USB_SPECIAL_OPTION, valueUSB);
|
||||
|
||||
switch(pHalData->UsbRxAggMode)
|
||||
switch (pHalData->UsbRxAggMode)
|
||||
{
|
||||
case USB_RX_AGG_DMA:
|
||||
rtw_write8(Adapter, REG_RXDMA_AGG_PG_TH, pHalData->UsbRxAggPageCount);
|
||||
|
@ -892,7 +892,7 @@ usb_AggSettingRxUpdate(
|
|||
break;
|
||||
}
|
||||
|
||||
switch(PBP_128)
|
||||
switch (PBP_128)
|
||||
{
|
||||
case PBP_128:
|
||||
pHalData->HwRxPageSize = 128;
|
||||
|
@ -1773,7 +1773,7 @@ _ReadLEDSetting(
|
|||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
pledpriv->bRegUseLed = true;
|
||||
|
||||
switch(pHalData->CustomerID)
|
||||
switch (pHalData->CustomerID)
|
||||
{
|
||||
default:
|
||||
pledpriv->LedStrategy = SW_LED_MODE1;
|
||||
|
@ -2207,7 +2207,7 @@ static void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
DM_ODM_T *podmpriv = &pHalData->odmpriv;
|
||||
;
|
||||
|
||||
switch(variable)
|
||||
switch (variable)
|
||||
{
|
||||
case HW_VAR_MEDIA_STATUS:
|
||||
{
|
||||
|
@ -2629,7 +2629,7 @@ static void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
MinSpacingToSet = *((u8 *)val);
|
||||
if (MinSpacingToSet <= 7)
|
||||
{
|
||||
switch(Adapter->securitypriv.dot11PrivacyAlgrthm)
|
||||
switch (Adapter->securitypriv.dot11PrivacyAlgrthm)
|
||||
{
|
||||
case _NO_PRIVACY_:
|
||||
case _AES_:
|
||||
|
@ -2859,7 +2859,7 @@ static void GetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
DM_ODM_T *podmpriv = &pHalData->odmpriv;
|
||||
;
|
||||
|
||||
switch(variable)
|
||||
switch (variable)
|
||||
{
|
||||
case HW_VAR_BASIC_RATE:
|
||||
*((u16 *)(val)) = pHalData->BasicRateSet;
|
||||
|
@ -2943,7 +2943,7 @@ static u8 GetHalDefVar8188EUsb(
|
|||
DM_ODM_T *podmpriv = &pHalData->odmpriv;
|
||||
u8 bResult = _SUCCESS;
|
||||
|
||||
switch(eVariable)
|
||||
switch (eVariable)
|
||||
{
|
||||
case HAL_DEF_UNDERCORATEDSMOOTHEDPWDB:
|
||||
{
|
||||
|
@ -3068,7 +3068,7 @@ static u8 SetHalDefVar8188EUsb(
|
|||
DM_ODM_T *podmpriv = &pHalData->odmpriv;
|
||||
u8 bResult = _SUCCESS;
|
||||
|
||||
switch(eVariable)
|
||||
switch (eVariable)
|
||||
{
|
||||
case HAL_DEF_DBG_DM_FUNC:
|
||||
{
|
||||
|
@ -3350,7 +3350,7 @@ static void rtl8188eu_init_default_value(struct adapter * padapter)
|
|||
static u8 rtl8188eu_ps_func(struct adapter *Adapter, enum HAL_INTF_PS_FUNC efunc_id, u8 *val)
|
||||
{
|
||||
u8 bResult = true;
|
||||
switch(efunc_id){
|
||||
switch (efunc_id){
|
||||
|
||||
#if defined(CONFIG_AUTOSUSPEND)
|
||||
case HAL_USB_SELECT_SUSPEND:
|
||||
|
|
|
@ -350,7 +350,7 @@ static void usb_read_interrupt_complete(struct urb *purb, struct pt_regs *regs)
|
|||
{
|
||||
DBG_8192C("###=> usb_read_interrupt_complete => urb status(%d)\n", purb->status);
|
||||
|
||||
switch(purb->status) {
|
||||
switch (purb->status) {
|
||||
case -EINVAL:
|
||||
case -EPIPE:
|
||||
case -ENODEV:
|
||||
|
@ -552,7 +552,7 @@ static int recvbuf2recvframe(struct adapter *padapter, struct sk_buff *pskb)
|
|||
recvframe_put(precvframe, skb_len);
|
||||
/* recvframe_pull(precvframe, drvinfo_sz + RXDESC_SIZE); */
|
||||
|
||||
switch(pHalData->UsbRxAggMode) {
|
||||
switch (pHalData->UsbRxAggMode) {
|
||||
case USB_RX_AGG_DMA:
|
||||
case USB_RX_AGG_MIX:
|
||||
pkt_offset = (u16)_RND128(pkt_offset);
|
||||
|
@ -707,7 +707,7 @@ static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
|
|||
padapter->bSurpriseRemoved = true;
|
||||
}
|
||||
|
||||
switch(purb->status) {
|
||||
switch (purb->status) {
|
||||
case -EINVAL:
|
||||
case -EPIPE:
|
||||
case -ENODEV:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue