staging: rtl8723au: Eliminate HW_VAR_SLOT_TIME
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 9 Apr 2014 21:20:24 +0000 (23:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 15:29:01 +0000 (08:29 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_wlan_util.c
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
drivers/staging/rtl8723au/include/hal_intf.h

index 8f1bd0708a138c443c5ba59b338b12609fd8c1b0..183b2665abdd73a257b0d64f126ffc2c44c4ec69 100644 (file)
@@ -1600,7 +1600,7 @@ void update_capinfo23a(struct rtw_adapter *Adapter, u16 updateCap)
                        pmlmeinfo->slotTime = NON_SHORT_SLOT_TIME;
                }
        }
-       rtw_hal_set_hwreg23a(Adapter, HW_VAR_SLOT_TIME, &pmlmeinfo->slotTime);
+       rtl8723a_set_slot_time(Adapter, pmlmeinfo->slotTime);
 }
 
 void update_wireless_mode23a(struct rtw_adapter *padapter)
index 8931626a694640f8a94cda44096cfc06781546f0..9c5d8310376db2d02f80eaa10a772c80a3717776 100644 (file)
@@ -3143,10 +3143,6 @@ void SetHwReg8723A(struct rtw_adapter *padapter, u8 variable, u8 *val)
                rtl8723a_set_bcn_func(padapter, *val);
                break;
 
-       case HW_VAR_SLOT_TIME:
-               rtl8723a_set_slot_time(padapter, *val);
-               break;
-
        case HW_VAR_RESP_SIFS:
                rtl8723a_set_resp_sifs(padapter, val[0], val[1],
                                       val[2], val[3]);
index 395660193c818454a0e13ec969a5fe0de3084eec..edf54b77172d2bc9bdd421fc3d0340de28ed2e5b 100644 (file)
@@ -39,7 +39,6 @@ enum HW_VARIABLES {
        HW_VAR_INIT_RTS_RATE,
        HW_VAR_TXPAUSE,
        HW_VAR_BCN_FUNC,
-       HW_VAR_SLOT_TIME,
        HW_VAR_RESP_SIFS,
        HW_VAR_ACK_PREAMBLE,
        HW_VAR_SEC_CFG,