]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: rtl8188eu: Remove command _TDLS and its handler
authornavin patidar <navin.patidar@gmail.com>
Thu, 10 Jul 2014 03:42:09 +0000 (09:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 04:15:20 +0000 (21:15 -0700)
_TDLS command is never issued by driver and its handler is a
dummy function.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
drivers/staging/rtl8188eu/include/rtw_cmd.h
drivers/staging/rtl8188eu/include/rtw_mlme_ext.h

index b4dd14e21531557e9dd7abbdf9ae12e51f021cee..54816f70ec3d8aea867869fb1314215107373718 100644 (file)
@@ -5605,21 +5605,3 @@ u8 set_csa_hdl(struct adapter *padapter, unsigned char *pbuf)
 {
        return  H2C_REJECTED;
 }
-
-/*  TDLS_WRCR          : write RCR DATA BIT */
-/*  TDLS_SD_PTI                : issue peer traffic indication */
-/*  TDLS_CS_OFF                : go back to the channel linked with AP, terminating channel switch procedure */
-/*  TDLS_INIT_CH_SEN   : init channel sensing, receive all data and mgnt frame */
-/*  TDLS_DONE_CH_SEN: channel sensing and report candidate channel */
-/*  TDLS_OFF_CH                : first time set channel to off channel */
-/*  TDLS_BASE_CH               : go back tp the channel linked with AP when set base channel as target channel */
-/*  TDLS_P_OFF_CH      : periodically go to off channel */
-/*  TDLS_P_BASE_CH     : periodically go back to base channel */
-/*  TDLS_RS_RCR                : restore RCR */
-/*  TDLS_CKALV_PH1     : check alive timer phase1 */
-/*  TDLS_CKALV_PH2     : check alive timer phase2 */
-/*  TDLS_FREE_STA      : free tdls sta */
-u8 tdls_hdl(struct adapter *padapter, unsigned char *pbuf)
-{
-       return H2C_REJECTED;
-}
index 8b0712f1ce985cad1842dfe777a817e50d81c656..1d2fc5f9a29c3f21ee234cd5d61fde673d611f88 100644 (file)
@@ -417,7 +417,6 @@ enum rtw_h2c_cmd {
        GEN_CMD_CODE(_SetChannelPlan),
        GEN_CMD_CODE(_LedBlink),
        GEN_CMD_CODE(_SetChannelSwitch),
-       GEN_CMD_CODE(_TDLS),
 
        MAX_H2CCMD
 };
@@ -442,7 +441,6 @@ static struct _cmd_callback rtw_cmd_callback[] = {
        {GEN_CMD_CODE(_SetChannelPlan), NULL},
        {GEN_CMD_CODE(_LedBlink), NULL},
        {GEN_CMD_CODE(_SetChannelSwitch), NULL},
-       {GEN_CMD_CODE(_TDLS), NULL},
 };
 #endif
 
index 484e874183a0f5cb328e9796117ad64f3106af7a..43ed4331ad6a7625211d17861b2907280f356ffb 100644 (file)
@@ -726,7 +726,6 @@ static struct cmd_hdl wlancmds[] = {
        GEN_MLME_EXT_HANDLER(sizeof(struct SetChannelPlan_param), set_chplan_hdl)
        GEN_MLME_EXT_HANDLER(sizeof(struct LedBlink_param), led_blink_hdl)
        GEN_MLME_EXT_HANDLER(sizeof(struct SetChannelSwitch_param), set_csa_hdl)
-       GEN_MLME_EXT_HANDLER(sizeof(struct TDLSoption_param), tdls_hdl)
 };
 
 #endif