mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
Staging: rtl8192e: Rename function rtllib_query_ShortPreambleMode
Rename function rtllib_query_ShortPreambleMode to rtllib_query_short_preamble_mode to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20240612032230.9738-18-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
404e172cc8
commit
23c48df408
@ -319,7 +319,7 @@ static void rtllib_tx_query_agg_cap(struct rtllib_device *ieee,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void rtllib_query_ShortPreambleMode(struct rtllib_device *ieee,
|
static void rtllib_query_short_preamble_mode(struct rtllib_device *ieee,
|
||||||
struct cb_desc *tcb_desc)
|
struct cb_desc *tcb_desc)
|
||||||
{
|
{
|
||||||
tcb_desc->bUseShortPreamble = false;
|
tcb_desc->bUseShortPreamble = false;
|
||||||
@ -868,7 +868,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
|
|||||||
tcb_desc->bdhcp = 1;
|
tcb_desc->bdhcp = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtllib_query_ShortPreambleMode(ieee, tcb_desc);
|
rtllib_query_short_preamble_mode(ieee, tcb_desc);
|
||||||
rtllib_tx_query_agg_cap(ieee, txb->fragments[0],
|
rtllib_tx_query_agg_cap(ieee, txb->fragments[0],
|
||||||
tcb_desc);
|
tcb_desc);
|
||||||
rtllib_query_HTCapShortGI(ieee, tcb_desc);
|
rtllib_query_HTCapShortGI(ieee, tcb_desc);
|
||||||
|
Loading…
Reference in New Issue
Block a user