Commit 4cf93d70 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: wilc1000: fix alignment for open parenthesis

This patch fixes the check found by checkpatch.pl
CHECK: Alignment should match open parenthesis
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ee632309
...@@ -303,7 +303,7 @@ static s32 handle_set_channel(struct wilc_vif *vif, ...@@ -303,7 +303,7 @@ static s32 handle_set_channel(struct wilc_vif *vif,
PRINT_D(HOSTINF_DBG, "Setting channel\n"); PRINT_D(HOSTINF_DBG, "Setting channel\n");
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to set channel\n"); PRINT_ER("Failed to set channel\n");
...@@ -350,7 +350,7 @@ static s32 handle_set_operation_mode(struct wilc_vif *vif, ...@@ -350,7 +350,7 @@ static s32 handle_set_operation_mode(struct wilc_vif *vif,
wid.size = sizeof(u32); wid.size = sizeof(u32);
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if ((hif_op_mode->mode) == IDLE_MODE) if ((hif_op_mode->mode) == IDLE_MODE)
up(&hif_sema_driver); up(&hif_sema_driver);
...@@ -383,7 +383,7 @@ static s32 handle_set_ip_address(struct wilc_vif *vif, u8 *ip_addr, u8 idx) ...@@ -383,7 +383,7 @@ static s32 handle_set_ip_address(struct wilc_vif *vif, u8 *ip_addr, u8 idx)
wid.size = IP_ALEN; wid.size = IP_ALEN;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
host_int_get_ipaddress(vif, firmware_ip_addr, idx); host_int_get_ipaddress(vif, firmware_ip_addr, idx);
...@@ -408,7 +408,7 @@ static s32 handle_get_ip_address(struct wilc_vif *vif, u8 idx) ...@@ -408,7 +408,7 @@ static s32 handle_get_ip_address(struct wilc_vif *vif, u8 idx)
wid.size = IP_ALEN; wid.size = IP_ALEN;
result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
PRINT_INFO(HOSTINF_DBG, "%pI4\n", wid.val); PRINT_INFO(HOSTINF_DBG, "%pI4\n", wid.val);
...@@ -451,7 +451,7 @@ static s32 handle_set_mac_address(struct wilc_vif *vif, ...@@ -451,7 +451,7 @@ static s32 handle_set_mac_address(struct wilc_vif *vif,
PRINT_D(GENERIC_DBG, "mac addr = :%pM\n", wid.val); PRINT_D(GENERIC_DBG, "mac addr = :%pM\n", wid.val);
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to set mac address\n"); PRINT_ER("Failed to set mac address\n");
result = -EFAULT; result = -EFAULT;
...@@ -473,7 +473,7 @@ static s32 handle_get_mac_address(struct wilc_vif *vif, ...@@ -473,7 +473,7 @@ static s32 handle_get_mac_address(struct wilc_vif *vif,
wid.size = ETH_ALEN; wid.size = ETH_ALEN;
result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to get mac address\n"); PRINT_ER("Failed to get mac address\n");
...@@ -939,7 +939,7 @@ static s32 Handle_ScanDone(struct wilc_vif *vif, ...@@ -939,7 +939,7 @@ static s32 Handle_ScanDone(struct wilc_vif *vif,
wid.size = sizeof(char); wid.size = sizeof(char);
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to set abort running scan\n"); PRINT_ER("Failed to set abort running scan\n");
...@@ -1356,7 +1356,7 @@ static s32 Handle_ConnectTimeout(struct wilc_vif *vif) ...@@ -1356,7 +1356,7 @@ static s32 Handle_ConnectTimeout(struct wilc_vif *vif)
PRINT_D(HOSTINF_DBG, "Sending disconnect request\n"); PRINT_D(HOSTINF_DBG, "Sending disconnect request\n");
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) if (result)
PRINT_ER("Failed to send dissconect config packet\n"); PRINT_ER("Failed to send dissconect config packet\n");
...@@ -1750,8 +1750,8 @@ static int Handle_Key(struct wilc_vif *vif, ...@@ -1750,8 +1750,8 @@ static int Handle_Key(struct wilc_vif *vif,
strWIDList[3].val = (s8 *)pu8keybuf; strWIDList[3].val = (s8 *)pu8keybuf;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, result = wilc_send_config_pkt(vif->wilc, SET_CFG,
strWIDList, 4, strWIDList, 4,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
kfree(pu8keybuf); kfree(pu8keybuf);
} else if (pstrHostIFkeyAttr->action & ADDKEY) { } else if (pstrHostIFkeyAttr->action & ADDKEY) {
PRINT_D(HOSTINF_DBG, "Handling WEP key\n"); PRINT_D(HOSTINF_DBG, "Handling WEP key\n");
...@@ -1772,8 +1772,8 @@ static int Handle_Key(struct wilc_vif *vif, ...@@ -1772,8 +1772,8 @@ static int Handle_Key(struct wilc_vif *vif,
wid.size = pstrHostIFkeyAttr->attr.wep.key_len + 2; wid.size = pstrHostIFkeyAttr->attr.wep.key_len + 2;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, result = wilc_send_config_pkt(vif->wilc, SET_CFG,
&wid, 1, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
kfree(pu8keybuf); kfree(pu8keybuf);
} else if (pstrHostIFkeyAttr->action & REMOVEKEY) { } else if (pstrHostIFkeyAttr->action & REMOVEKEY) {
PRINT_D(HOSTINF_DBG, "Removing key\n"); PRINT_D(HOSTINF_DBG, "Removing key\n");
...@@ -1785,8 +1785,8 @@ static int Handle_Key(struct wilc_vif *vif, ...@@ -1785,8 +1785,8 @@ static int Handle_Key(struct wilc_vif *vif,
wid.size = 1; wid.size = 1;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, result = wilc_send_config_pkt(vif->wilc, SET_CFG,
&wid, 1, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
} else { } else {
wid.id = (u16)WID_KEY_ID; wid.id = (u16)WID_KEY_ID;
wid.type = WID_CHAR; wid.type = WID_CHAR;
...@@ -1796,8 +1796,8 @@ static int Handle_Key(struct wilc_vif *vif, ...@@ -1796,8 +1796,8 @@ static int Handle_Key(struct wilc_vif *vif,
PRINT_D(HOSTINF_DBG, "Setting default key index\n"); PRINT_D(HOSTINF_DBG, "Setting default key index\n");
result = wilc_send_config_pkt(vif->wilc, SET_CFG, result = wilc_send_config_pkt(vif->wilc, SET_CFG,
&wid, 1, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
} }
up(&hif_drv->sem_test_key_block); up(&hif_drv->sem_test_key_block);
break; break;
...@@ -1830,8 +1830,8 @@ static int Handle_Key(struct wilc_vif *vif, ...@@ -1830,8 +1830,8 @@ static int Handle_Key(struct wilc_vif *vif,
strWIDList[1].size = RX_MIC_KEY_MSG_LEN; strWIDList[1].size = RX_MIC_KEY_MSG_LEN;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, result = wilc_send_config_pkt(vif->wilc, SET_CFG,
strWIDList, 2, strWIDList, 2,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
kfree(pu8keybuf); kfree(pu8keybuf);
up(&hif_drv->sem_test_key_block); up(&hif_drv->sem_test_key_block);
...@@ -1862,8 +1862,8 @@ static int Handle_Key(struct wilc_vif *vif, ...@@ -1862,8 +1862,8 @@ static int Handle_Key(struct wilc_vif *vif,
wid.size = RX_MIC_KEY_MSG_LEN; wid.size = RX_MIC_KEY_MSG_LEN;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, result = wilc_send_config_pkt(vif->wilc, SET_CFG,
&wid, 1, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
kfree(pu8keybuf); kfree(pu8keybuf);
up(&hif_drv->sem_test_key_block); up(&hif_drv->sem_test_key_block);
...@@ -1902,8 +1902,8 @@ static int Handle_Key(struct wilc_vif *vif, ...@@ -1902,8 +1902,8 @@ static int Handle_Key(struct wilc_vif *vif,
strWIDList[1].size = PTK_KEY_MSG_LEN + 1; strWIDList[1].size = PTK_KEY_MSG_LEN + 1;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, result = wilc_send_config_pkt(vif->wilc, SET_CFG,
strWIDList, 2, strWIDList, 2,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
kfree(pu8keybuf); kfree(pu8keybuf);
up(&hif_drv->sem_test_key_block); up(&hif_drv->sem_test_key_block);
} else if (pstrHostIFkeyAttr->action & ADDKEY) { } else if (pstrHostIFkeyAttr->action & ADDKEY) {
...@@ -1925,8 +1925,8 @@ static int Handle_Key(struct wilc_vif *vif, ...@@ -1925,8 +1925,8 @@ static int Handle_Key(struct wilc_vif *vif,
wid.size = PTK_KEY_MSG_LEN; wid.size = PTK_KEY_MSG_LEN;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, result = wilc_send_config_pkt(vif->wilc, SET_CFG,
&wid, 1, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
kfree(pu8keybuf); kfree(pu8keybuf);
up(&hif_drv->sem_test_key_block); up(&hif_drv->sem_test_key_block);
} }
...@@ -1961,7 +1961,7 @@ static int Handle_Key(struct wilc_vif *vif, ...@@ -1961,7 +1961,7 @@ static int Handle_Key(struct wilc_vif *vif,
wid.size = (pstrHostIFkeyAttr->attr.pmkid.numpmkid * PMKSA_KEY_LEN) + 1; wid.size = (pstrHostIFkeyAttr->attr.pmkid.numpmkid * PMKSA_KEY_LEN) + 1;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
kfree(pu8keybuf); kfree(pu8keybuf);
break; break;
...@@ -1994,7 +1994,7 @@ static void Handle_Disconnect(struct wilc_vif *vif) ...@@ -1994,7 +1994,7 @@ static void Handle_Disconnect(struct wilc_vif *vif)
eth_zero_addr(wilc_connected_ssid); eth_zero_addr(wilc_connected_ssid);
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to send dissconect config packet\n"); PRINT_ER("Failed to send dissconect config packet\n");
...@@ -2085,7 +2085,7 @@ static s32 Handle_GetChnl(struct wilc_vif *vif) ...@@ -2085,7 +2085,7 @@ static s32 Handle_GetChnl(struct wilc_vif *vif)
PRINT_D(HOSTINF_DBG, "Getting channel value\n"); PRINT_D(HOSTINF_DBG, "Getting channel value\n");
result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to get channel number\n"); PRINT_ER("Failed to get channel number\n");
...@@ -2110,7 +2110,7 @@ static void Handle_GetRssi(struct wilc_vif *vif) ...@@ -2110,7 +2110,7 @@ static void Handle_GetRssi(struct wilc_vif *vif)
PRINT_D(HOSTINF_DBG, "Getting RSSI value\n"); PRINT_D(HOSTINF_DBG, "Getting RSSI value\n");
result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to get RSSI value\n"); PRINT_ER("Failed to get RSSI value\n");
result = -EFAULT; result = -EFAULT;
...@@ -2135,7 +2135,7 @@ static void Handle_GetLinkspeed(struct wilc_vif *vif) ...@@ -2135,7 +2135,7 @@ static void Handle_GetLinkspeed(struct wilc_vif *vif)
PRINT_D(HOSTINF_DBG, "Getting LINKSPEED value\n"); PRINT_D(HOSTINF_DBG, "Getting LINKSPEED value\n");
result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to get LINKSPEED value\n"); PRINT_ER("Failed to get LINKSPEED value\n");
result = -EFAULT; result = -EFAULT;
...@@ -2181,8 +2181,8 @@ static s32 Handle_GetStatistics(struct wilc_vif *vif, ...@@ -2181,8 +2181,8 @@ static s32 Handle_GetStatistics(struct wilc_vif *vif,
u32WidsCount++; u32WidsCount++;
result = wilc_send_config_pkt(vif->wilc, GET_CFG, strWIDList, result = wilc_send_config_pkt(vif->wilc, GET_CFG, strWIDList,
u32WidsCount, u32WidsCount,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) if (result)
PRINT_ER("Failed to send scan paramters config packet\n"); PRINT_ER("Failed to send scan paramters config packet\n");
...@@ -2210,7 +2210,7 @@ static s32 Handle_Get_InActiveTime(struct wilc_vif *vif, ...@@ -2210,7 +2210,7 @@ static s32 Handle_Get_InActiveTime(struct wilc_vif *vif,
PRINT_D(CFG80211_DBG, "SETING STA inactive time\n"); PRINT_D(CFG80211_DBG, "SETING STA inactive time\n");
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to SET incative time\n"); PRINT_ER("Failed to SET incative time\n");
...@@ -2223,7 +2223,7 @@ static s32 Handle_Get_InActiveTime(struct wilc_vif *vif, ...@@ -2223,7 +2223,7 @@ static s32 Handle_Get_InActiveTime(struct wilc_vif *vif,
wid.size = sizeof(u32); wid.size = sizeof(u32);
result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to get incative time\n"); PRINT_ER("Failed to get incative time\n");
...@@ -2311,7 +2311,7 @@ static void Handle_DelBeacon(struct wilc_vif *vif) ...@@ -2311,7 +2311,7 @@ static void Handle_DelBeacon(struct wilc_vif *vif)
PRINT_D(HOSTINF_DBG, "Deleting BEACON\n"); PRINT_D(HOSTINF_DBG, "Deleting BEACON\n");
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) if (result)
PRINT_ER("Failed to send delete beacon config packet\n"); PRINT_ER("Failed to send delete beacon config packet\n");
} }
...@@ -2384,7 +2384,7 @@ static void Handle_AddStation(struct wilc_vif *vif, ...@@ -2384,7 +2384,7 @@ static void Handle_AddStation(struct wilc_vif *vif,
pu8CurrByte += WILC_HostIf_PackStaParam(pu8CurrByte, pstrStationParam); pu8CurrByte += WILC_HostIf_PackStaParam(pu8CurrByte, pstrStationParam);
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result != 0) if (result != 0)
PRINT_ER("Failed to send add station config packet\n"); PRINT_ER("Failed to send add station config packet\n");
...@@ -2426,7 +2426,7 @@ static void Handle_DelAllSta(struct wilc_vif *vif, ...@@ -2426,7 +2426,7 @@ static void Handle_DelAllSta(struct wilc_vif *vif,
} }
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) if (result)
PRINT_ER("Failed to send add station config packet\n"); PRINT_ER("Failed to send add station config packet\n");
...@@ -2458,7 +2458,7 @@ static void Handle_DelStation(struct wilc_vif *vif, ...@@ -2458,7 +2458,7 @@ static void Handle_DelStation(struct wilc_vif *vif,
memcpy(pu8CurrByte, pstrDelStaParam->mac_addr, ETH_ALEN); memcpy(pu8CurrByte, pstrDelStaParam->mac_addr, ETH_ALEN);
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) if (result)
PRINT_ER("Failed to send add station config packet\n"); PRINT_ER("Failed to send add station config packet\n");
...@@ -2486,7 +2486,7 @@ static void Handle_EditStation(struct wilc_vif *vif, ...@@ -2486,7 +2486,7 @@ static void Handle_EditStation(struct wilc_vif *vif,
pu8CurrByte += WILC_HostIf_PackStaParam(pu8CurrByte, pstrStationParam); pu8CurrByte += WILC_HostIf_PackStaParam(pu8CurrByte, pstrStationParam);
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) if (result)
PRINT_ER("Failed to send edit station config packet\n"); PRINT_ER("Failed to send edit station config packet\n");
...@@ -2548,7 +2548,7 @@ static int Handle_RemainOnChan(struct wilc_vif *vif, ...@@ -2548,7 +2548,7 @@ static int Handle_RemainOnChan(struct wilc_vif *vif,
wid.val[1] = (s8)pstrHostIfRemainOnChan->ch; wid.val[1] = (s8)pstrHostIfRemainOnChan->ch;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result != 0) if (result != 0)
PRINT_ER("Failed to set remain on channel\n"); PRINT_ER("Failed to set remain on channel\n");
...@@ -2596,7 +2596,7 @@ static int Handle_RegisterFrame(struct wilc_vif *vif, ...@@ -2596,7 +2596,7 @@ static int Handle_RegisterFrame(struct wilc_vif *vif,
wid.size = sizeof(u16) + 2; wid.size = sizeof(u16) + 2;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
PRINT_ER("Failed to frame register config packet\n"); PRINT_ER("Failed to frame register config packet\n");
result = -EINVAL; result = -EINVAL;
...@@ -2631,7 +2631,7 @@ static u32 Handle_ListenStateExpired(struct wilc_vif *vif, ...@@ -2631,7 +2631,7 @@ static u32 Handle_ListenStateExpired(struct wilc_vif *vif,
wid.val[1] = FALSE_FRMWR_CHANNEL; wid.val[1] = FALSE_FRMWR_CHANNEL;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result != 0) { if (result != 0) {
PRINT_ER("Failed to set remain on channel\n"); PRINT_ER("Failed to set remain on channel\n");
goto _done_; goto _done_;
...@@ -2689,7 +2689,7 @@ static void Handle_PowerManagement(struct wilc_vif *vif, ...@@ -2689,7 +2689,7 @@ static void Handle_PowerManagement(struct wilc_vif *vif,
PRINT_D(HOSTINF_DBG, "Handling Power Management\n"); PRINT_D(HOSTINF_DBG, "Handling Power Management\n");
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) if (result)
PRINT_ER("Failed to send power management config packet\n"); PRINT_ER("Failed to send power management config packet\n");
} }
...@@ -2726,7 +2726,7 @@ static void Handle_SetMulticastFilter(struct wilc_vif *vif, ...@@ -2726,7 +2726,7 @@ static void Handle_SetMulticastFilter(struct wilc_vif *vif,
((strHostIfSetMulti->cnt) * ETH_ALEN)); ((strHostIfSetMulti->cnt) * ETH_ALEN));
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) if (result)
PRINT_ER("Failed to send setup multicast config packet\n"); PRINT_ER("Failed to send setup multicast config packet\n");
...@@ -2762,7 +2762,7 @@ static s32 Handle_DelAllRxBASessions(struct wilc_vif *vif, ...@@ -2762,7 +2762,7 @@ static s32 Handle_DelAllRxBASessions(struct wilc_vif *vif,
*ptr++ = 32; *ptr++ = 32;
result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) if (result)
PRINT_D(HOSTINF_DBG, "Couldn't delete BA Session\n"); PRINT_D(HOSTINF_DBG, "Couldn't delete BA Session\n");
...@@ -3502,7 +3502,7 @@ static s32 host_int_get_assoc_res_info(struct wilc_vif *vif, ...@@ -3502,7 +3502,7 @@ static s32 host_int_get_assoc_res_info(struct wilc_vif *vif,
wid.size = u32MaxAssocRespInfoLen; wid.size = u32MaxAssocRespInfoLen;
result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1, result = wilc_send_config_pkt(vif->wilc, GET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
*pu32RcvdAssocRespInfoLen = 0; *pu32RcvdAssocRespInfoLen = 0;
PRINT_ER("Failed to send association response config packet\n"); PRINT_ER("Failed to send association response config packet\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment