Re: [PATCH v3 1/3] staging: vt6655: replace camel case b_short_slot_time instead of bShortSlotTime.

From: Joe Perches
Date: Sat Sep 25 2021 - 04:32:17 EST


On Sat, 2021-09-25 at 09:45 +0200, Tommaso Merciai wrote:
> Signed-off-by: Tommaso Merciai <tomm.merciai@xxxxxxxxx>
[]
> diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
[]
> @@ -1440,9 +1440,9 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
>
>   if (changed & BSS_CHANGED_ERP_SLOT) {
>   if (conf->use_short_slot)
> - priv->bShortSlotTime = true;
> + priv->b_short_slot_time = true;
>   else
> - priv->bShortSlotTime = false;
> + priv->b_short_slot_time = false;

A simple assignment works

priv->b_short_slot_time = conf->use_short_slot;