staging: rtl8188eu: Remove command _SetChannelSwitch and its handler

_SetChannelSwitch 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>
This commit is contained in:
navin patidar 2014-07-10 09:12:10 +05:30 committed by Greg Kroah-Hartman
parent 98724384f5
commit 7fd600f619
3 changed files with 0 additions and 8 deletions

View file

@ -5600,8 +5600,3 @@ u8 led_blink_hdl(struct adapter *padapter, unsigned char *pbuf)
return H2C_PARAMETERS_ERROR;
return H2C_SUCCESS;
}
u8 set_csa_hdl(struct adapter *padapter, unsigned char *pbuf)
{
return H2C_REJECTED;
}

View file

@ -416,7 +416,6 @@ enum rtw_h2c_cmd {
GEN_CMD_CODE(_Set_H2C_MSG),
GEN_CMD_CODE(_SetChannelPlan),
GEN_CMD_CODE(_LedBlink),
GEN_CMD_CODE(_SetChannelSwitch),
MAX_H2CCMD
};
@ -440,7 +439,6 @@ static struct _cmd_callback rtw_cmd_callback[] = {
{GEN_CMD_CODE(_Set_H2C_MSG), NULL},
{GEN_CMD_CODE(_SetChannelPlan), NULL},
{GEN_CMD_CODE(_LedBlink), NULL},
{GEN_CMD_CODE(_SetChannelSwitch), NULL},
};
#endif

View file

@ -725,7 +725,6 @@ static struct cmd_hdl wlancmds[] = {
GEN_MLME_EXT_HANDLER(0, h2c_msg_hdl)
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)
};
#endif