Rename camel case macro SetPwrMgt into set_pwr_mgt. Signed-off-by: Alberto Merciai <alb3rt0.m3rciai@xxxxxxxxx> --- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 2 +- drivers/staging/r8188eu/hal/rtl8188e_cmd.c | 4 ++-- drivers/staging/r8188eu/include/wifi.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_mlme_ext.c b/drivers/staging/r8188eu/core/rtw_mlme_ext.c index 885a6412738b..63e16f9deff4 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c @@ -5412,7 +5412,7 @@ static int _issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned set_to_ds(fctrl); if (power_mode) - SetPwrMgt(fctrl); + set_pwr_mgt(fctrl); memcpy(pwlanhdr->addr1, da, ETH_ALEN); memcpy(pwlanhdr->addr2, myid(&padapter->eeprompriv), ETH_ALEN); diff --git a/drivers/staging/r8188eu/hal/rtl8188e_cmd.c b/drivers/staging/r8188eu/hal/rtl8188e_cmd.c index b7385ec7ce93..8fb4789d9e65 100644 --- a/drivers/staging/r8188eu/hal/rtl8188e_cmd.c +++ b/drivers/staging/r8188eu/hal/rtl8188e_cmd.c @@ -305,7 +305,7 @@ static void ConstructPSPoll(struct adapter *adapt, u8 *pframe, u32 *pLength) /* Frame control. */ fctrl = &pwlanhdr->frame_ctl; *(fctrl) = 0; - SetPwrMgt(fctrl); + set_pwr_mgt(fctrl); SetFrameSubType(pframe, WIFI_PSPOLL); /* AID. */ @@ -341,7 +341,7 @@ static void ConstructNullFunctionData(struct adapter *adapt, u8 *pframe, fctrl = &pwlanhdr->frame_ctl; *(fctrl) = 0; if (bForcePowerSave) - SetPwrMgt(fctrl); + set_pwr_mgt(fctrl); switch (cur_network->network.InfrastructureMode) { case Ndis802_11Infrastructure: diff --git a/drivers/staging/r8188eu/include/wifi.h b/drivers/staging/r8188eu/include/wifi.h index ab8ed3ce89f4..3f16e9b9c342 100644 --- a/drivers/staging/r8188eu/include/wifi.h +++ b/drivers/staging/r8188eu/include/wifi.h @@ -185,7 +185,7 @@ enum WIFI_REG_DOMAIN { #define get_retry(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_RETRY_)) != 0) -#define SetPwrMgt(pbuf) \ +#define set_pwr_mgt(pbuf) \ *(__le16 *)(pbuf) |= cpu_to_le16(_PWRMGT_) #define GetPwrMgt(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_PWRMGT_)) != 0) -- 2.25.1