mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 19:57:00 +07:00
staging: wilc1000: rename ReqIEsLen in struct connec_info
This patch renames ReqIEsLen to req_ies_len to avoid camelcase. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4ff4857076
commit
4607f9ccbb
@ -108,7 +108,7 @@ struct connect_resp_info {
|
|||||||
struct connect_info {
|
struct connect_info {
|
||||||
u8 bssid[6];
|
u8 bssid[6];
|
||||||
u8 *req_ies;
|
u8 *req_ies;
|
||||||
size_t ReqIEsLen;
|
size_t req_ies_len;
|
||||||
u8 *pu8RespIEs;
|
u8 *pu8RespIEs;
|
||||||
u16 u16RespIEsLen;
|
u16 u16RespIEsLen;
|
||||||
u16 u16ConnectStatus;
|
u16 u16ConnectStatus;
|
||||||
|
@ -1158,7 +1158,7 @@ static s32 Handle_Connect(struct wilc_vif *vif,
|
|||||||
memcpy(strConnectInfo.bssid, pstrHostIFconnectAttr->bssid, 6);
|
memcpy(strConnectInfo.bssid, pstrHostIFconnectAttr->bssid, 6);
|
||||||
|
|
||||||
if (pstrHostIFconnectAttr->ies) {
|
if (pstrHostIFconnectAttr->ies) {
|
||||||
strConnectInfo.ReqIEsLen = pstrHostIFconnectAttr->ies_len;
|
strConnectInfo.req_ies_len = pstrHostIFconnectAttr->ies_len;
|
||||||
strConnectInfo.req_ies = kmalloc(pstrHostIFconnectAttr->ies_len, GFP_KERNEL);
|
strConnectInfo.req_ies = kmalloc(pstrHostIFconnectAttr->ies_len, GFP_KERNEL);
|
||||||
memcpy(strConnectInfo.req_ies,
|
memcpy(strConnectInfo.req_ies,
|
||||||
pstrHostIFconnectAttr->ies,
|
pstrHostIFconnectAttr->ies,
|
||||||
@ -1265,7 +1265,7 @@ static s32 Handle_ConnectTimeout(struct wilc_vif *vif)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hif_drv->usr_conn_req.ies) {
|
if (hif_drv->usr_conn_req.ies) {
|
||||||
strConnectInfo.ReqIEsLen = hif_drv->usr_conn_req.ies_len;
|
strConnectInfo.req_ies_len = hif_drv->usr_conn_req.ies_len;
|
||||||
strConnectInfo.req_ies = kmalloc(hif_drv->usr_conn_req.ies_len, GFP_KERNEL);
|
strConnectInfo.req_ies = kmalloc(hif_drv->usr_conn_req.ies_len, GFP_KERNEL);
|
||||||
memcpy(strConnectInfo.req_ies,
|
memcpy(strConnectInfo.req_ies,
|
||||||
hif_drv->usr_conn_req.ies,
|
hif_drv->usr_conn_req.ies,
|
||||||
@ -1502,7 +1502,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hif_drv->usr_conn_req.ies) {
|
if (hif_drv->usr_conn_req.ies) {
|
||||||
strConnectInfo.ReqIEsLen = hif_drv->usr_conn_req.ies_len;
|
strConnectInfo.req_ies_len = hif_drv->usr_conn_req.ies_len;
|
||||||
strConnectInfo.req_ies = kmalloc(hif_drv->usr_conn_req.ies_len, GFP_KERNEL);
|
strConnectInfo.req_ies = kmalloc(hif_drv->usr_conn_req.ies_len, GFP_KERNEL);
|
||||||
memcpy(strConnectInfo.req_ies,
|
memcpy(strConnectInfo.req_ies,
|
||||||
hif_drv->usr_conn_req.ies,
|
hif_drv->usr_conn_req.ies,
|
||||||
|
@ -544,7 +544,7 @@ static void CfgConnectResult(enum conn_event enuConnDisconnEvent,
|
|||||||
}
|
}
|
||||||
|
|
||||||
cfg80211_connect_result(dev, pstrConnectInfo->bssid,
|
cfg80211_connect_result(dev, pstrConnectInfo->bssid,
|
||||||
pstrConnectInfo->req_ies, pstrConnectInfo->ReqIEsLen,
|
pstrConnectInfo->req_ies, pstrConnectInfo->req_ies_len,
|
||||||
pstrConnectInfo->pu8RespIEs, pstrConnectInfo->u16RespIEsLen,
|
pstrConnectInfo->pu8RespIEs, pstrConnectInfo->u16RespIEsLen,
|
||||||
u16ConnectStatus, GFP_KERNEL);
|
u16ConnectStatus, GFP_KERNEL);
|
||||||
} else if (enuConnDisconnEvent == CONN_DISCONN_EVENT_DISCONN_NOTIF) {
|
} else if (enuConnDisconnEvent == CONN_DISCONN_EVENT_DISCONN_NOTIF) {
|
||||||
|
Loading…
Reference in New Issue
Block a user