diff --git a/hal/rtl8814a/rtl8814a_sreset.c b/hal/rtl8814a/rtl8814a_sreset.c index 5d7e423..4a7947e 100644 --- a/hal/rtl8814a/rtl8814a_sreset.c +++ b/hal/rtl8814a/rtl8814a_sreset.c @@ -32,8 +32,8 @@ void rtl8814_sreset_xmit_status_check(_adapter *padapter) struct xmit_priv *pxmitpriv = &padapter->xmitpriv; unsigned int diff_time; u32 txdma_status; - - if( (txdma_status=rtw_read32(padapter, REG_TXDMA_STATUS)) !=0x00){ + + if ( (txdma_status=rtw_read32(padapter, REG_TXDMA_STATUS)) !=0x00) { RTW_INFO("%s REG_TXDMA_STATUS:0x%08x\n", __FUNCTION__, txdma_status); rtw_hal_sreset_reset(padapter); } @@ -51,7 +51,7 @@ void rtl8814_sreset_xmit_status_check(_adapter *padapter) if (psrtpriv->last_tx_complete_time == 0) { psrtpriv->last_tx_complete_time = current_time; } - else{ + else { diff_time = rtw_get_passing_time_ms(psrtpriv->last_tx_complete_time); if (diff_time > 4000) { u32 ability = 0; @@ -84,9 +84,9 @@ void rtl8814_sreset_linked_status_check(_adapter *padapter) u32 rx_dma_status = 0; rx_dma_status = rtw_read32(padapter,REG_RXDMA_STATUS); - if(rx_dma_status!= 0x00){ + if (rx_dma_status!= 0x00) { RTW_INFO("%s REG_RXDMA_STATUS:0x%08x\n",__FUNCTION__,rx_dma_status); - } + } #if 0 u32 regc50,regc58,reg824,reg800; regc50 = rtw_read32(padapter,0xc50); @@ -111,4 +111,3 @@ void rtl8814_sreset_linked_status_check(_adapter *padapter) } } #endif -