OSDN Git Service

staging: rtl8723au: MAX_AGGR_NUM is not used
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 27 Feb 2015 20:45:34 +0000 (15:45 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 17:54:24 +0000 (09:54 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c
drivers/staging/rtl8723au/include/Hal8723APhyCfg.h

index 9f0370d..6d59716 100644 (file)
@@ -426,7 +426,6 @@ int PHY_MACConfig8723A(struct rtw_adapter *Adapter)
        ODM_ReadAndConfig_MAC_REG_8723A(&pHalData->odmpriv);
 
        /*  2010.07.13 AMPDU aggregation number 9 */
-       /* rtw_write16(Adapter, REG_MAX_AGGR_NUM, MAX_AGGR_NUM); */
        rtl8723au_write8(Adapter, REG_MAX_AGGR_NUM, 0x0A);
        if (pHalData->rf_type == RF_2T2R &&
            BOARD_USB_DONGLE == pHalData->BoardType)
index f1b8f2f..bcf3657 100644 (file)
@@ -16,9 +16,6 @@
 #ifndef __INC_HAL8723PHYCFG_H__
 #define __INC_HAL8723PHYCFG_H__
 
-/*--------------------------Define Parameters-------------------------------*/
-#define MAX_AGGR_NUM   0x0909
-
 /*------------------------------Define structure----------------------------*/
 enum RF_RADIO_PATH {
        RF_PATH_A = 0,                  /* Radio Path A */