Commit 019a5b2a authored by Tree Davies's avatar Tree Davies Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192e: Rename variable bRTSSTBC



Rename variable bRTSSTBC to rtsstbc
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Tested-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240612032230.9738-21-tdavies@darkphysics.net


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c74feb58
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -894,7 +894,7 @@ void rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc,

	pTxFwInfo->RtsEnable =	(cb_desc->rts_enable) ? 1 : 0;
	pTxFwInfo->CtsEnable = (cb_desc->cts_enable) ? 1 : 0;
	pTxFwInfo->RtsSTBC = (cb_desc->bRTSSTBC) ? 1 : 0;
	pTxFwInfo->RtsSTBC = (cb_desc->rtsstbc) ? 1 : 0;
	pTxFwInfo->RtsHT = (cb_desc->rts_rate & 0x80) ? 1 : 0;
	pTxFwInfo->RtsRate = _rtl92e_rate_mgn_to_hw(cb_desc->rts_rate);
	pTxFwInfo->RtsBandwidth = 0;
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ struct cb_desc {
	u8 use_short_preamble:1;
	u8 tx_enable_fw_calc_dur:1;
	u8 ampdu_enable:1;
	u8 bRTSSTBC:1;
	u8 rtsstbc:1;
	u8 RTSSC:1;

	u8 rts_bw:1;
+1 −1
Original line number Diff line number Diff line
@@ -372,7 +372,7 @@ static void rtllib_query_protectionmode(struct rtllib_device *ieee,
{
	struct rt_hi_throughput *ht_info;

	tcb_desc->bRTSSTBC			= false;
	tcb_desc->rtsstbc			= false;
	tcb_desc->rts_use_short_gi		= false;
	tcb_desc->cts_enable			= false;
	tcb_desc->RTSSC				= 0;