Commit 8f3d1269 authored by Tree Davies's avatar Tree Davies Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192e: Rename variable posHTCap



Rename variable posHTCap to pos_ht_cap to fix
checkpatch warning Avoid CamelCase.

Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240310235552.4217-7-tdavies@darkphysics.net


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c3f253ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,

	if (!pos_ht_cap || !ht) {
		netdev_warn(ieee->dev,
			    "%s(): posHTCap and ht_info are null\n", __func__);
			    "%s(): pos_ht_cap and ht_info are null\n", __func__);
		return;
	}
	memset(pos_ht_cap, 0, *len);
+1 −1
Original line number Diff line number Diff line
@@ -1736,7 +1736,7 @@ void ht_set_connect_bw_mode(struct rtllib_device *ieee,
			enum ht_extchnl_offset Offset);
void ht_update_default_setting(struct rtllib_device *ieee);
void ht_construct_capability_element(struct rtllib_device *ieee,
				  u8 *posHTCap, u8 *len,
				  u8 *pos_ht_cap, u8 *len,
				  u8 isEncrypt, bool bAssoc);
void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee,
				u8 *posRT2RTAgg, u8 *len);