aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/sta_cmdresp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/mwifiex/sta_cmdresp.c')
-rw-r--r--drivers/net/wireless/mwifiex/sta_cmdresp.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/sta_cmdresp.c b/drivers/net/wireless/mwifiex/sta_cmdresp.c
index c710a1bb05ce..d85df158cc6c 100644
--- a/drivers/net/wireless/mwifiex/sta_cmdresp.c
+++ b/drivers/net/wireless/mwifiex/sta_cmdresp.c
@@ -818,6 +818,18 @@ static int mwifiex_ret_subsc_evt(struct mwifiex_private *priv,
818 return 0; 818 return 0;
819} 819}
820 820
821/* This function handles the command response of set_cfg_data */
822static int mwifiex_ret_cfg_data(struct mwifiex_private *priv,
823 struct host_cmd_ds_command *resp)
824{
825 if (resp->result != HostCmd_RESULT_OK) {
826 dev_err(priv->adapter->dev, "Cal data cmd resp failed\n");
827 return -1;
828 }
829
830 return 0;
831}
832
821/* 833/*
822 * This function handles the command responses. 834 * This function handles the command responses.
823 * 835 *
@@ -841,6 +853,9 @@ int mwifiex_process_sta_cmdresp(struct mwifiex_private *priv, u16 cmdresp_no,
841 case HostCmd_CMD_GET_HW_SPEC: 853 case HostCmd_CMD_GET_HW_SPEC:
842 ret = mwifiex_ret_get_hw_spec(priv, resp); 854 ret = mwifiex_ret_get_hw_spec(priv, resp);
843 break; 855 break;
856 case HostCmd_CMD_CFG_DATA:
857 ret = mwifiex_ret_cfg_data(priv, resp);
858 break;
844 case HostCmd_CMD_MAC_CONTROL: 859 case HostCmd_CMD_MAC_CONTROL:
845 break; 860 break;
846 case HostCmd_CMD_802_11_MAC_ADDRESS: 861 case HostCmd_CMD_802_11_MAC_ADDRESS: