Rename camel case macro SetAckpolicy into set_ack_policy Signed-off-by: Alberto Merciai <alb3rt0.m3rciai@xxxxxxxxx> --- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 2 +- drivers/staging/r8188eu/core/rtw_xmit.c | 2 +- drivers/staging/r8188eu/include/wifi.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_mlme_ext.c b/drivers/staging/r8188eu/core/rtw_mlme_ext.c index 13f6831fb53b..6ec53f1039cc 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c @@ -5532,7 +5532,7 @@ static int _issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 set_eosp(qc, pattrib->eosp); - SetAckpolicy(qc, pattrib->ack_policy); + set_ack_policy(qc, pattrib->ack_policy); memcpy(pwlanhdr->addr1, da, ETH_ALEN); memcpy(pwlanhdr->addr2, myid(&padapter->eeprompriv), ETH_ALEN); diff --git a/drivers/staging/r8188eu/core/rtw_xmit.c b/drivers/staging/r8188eu/core/rtw_xmit.c index 1d22f6dc2cdc..eed9a2efa21b 100644 --- a/drivers/staging/r8188eu/core/rtw_xmit.c +++ b/drivers/staging/r8188eu/core/rtw_xmit.c @@ -772,7 +772,7 @@ s32 rtw_make_wlanhdr(struct adapter *padapter, u8 *hdr, struct pkt_attrib *pattr set_eosp(qc, pattrib->eosp); - SetAckpolicy(qc, pattrib->ack_policy); + set_ack_policy(qc, pattrib->ack_policy); } /* TODO: fill HT Control Field */ diff --git a/drivers/staging/r8188eu/include/wifi.h b/drivers/staging/r8188eu/include/wifi.h index 16acf7df0144..75b54ab0fe9c 100644 --- a/drivers/staging/r8188eu/include/wifi.h +++ b/drivers/staging/r8188eu/include/wifi.h @@ -241,7 +241,7 @@ enum WIFI_REG_DOMAIN { #define set_eosp(pbuf, eosp) \ (*(__le16 *)(pbuf) |= cpu_to_le16((eosp & 1) << 4)) -#define SetAckpolicy(pbuf, ack) \ +#define set_ack_policy(pbuf, ack) \ *(__le16 *)(pbuf) |= cpu_to_le16((ack & 3) << 5) #define GetAckpolicy(pbuf) (((le16_to_cpu(*(__le16 *)pbuf)) >> 5) & 0x3) -- 2.25.1