projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
847a04d
)
staging: rtl8712: fix camel case in function r8712_generate_ie
author
Mahak Gupta
<mahak_g@cs.iitr.ac.in>
Thu, 7 Apr 2022 12:09:45 +0000
(17:39 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 7 Apr 2022 17:53:06 +0000
(19:53 +0200)
Adhere to linux kernel coding style.
Reported by checkpatch:
CHECK: Avoid CamelCase: <beaconPeriod>
Signed-off-by: Mahak Gupta <mahak_g@cs.iitr.ac.in>
Link:
https://lore.kernel.org/r/20220407120945.31030-1-mahak_g@cs.iitr.ac.in
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/ieee80211.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8712/ieee80211.c
b/drivers/staging/rtl8712/ieee80211.c
index f926809b10219af7ae2727f8381264e5df8eaaa2..7d8f1a29d18a909de4117f09cdbd0084f49dc997 100644
(file)
--- a/
drivers/staging/rtl8712/ieee80211.c
+++ b/
drivers/staging/rtl8712/ieee80211.c
@@
-162,13
+162,13
@@
int r8712_generate_ie(struct registry_priv *registrypriv)
uint sz = 0;
struct wlan_bssid_ex *dev_network = ®istrypriv->dev_network;
u8 *ie = dev_network->IEs;
- u16 beacon
P
eriod = (u16)dev_network->Configuration.BeaconPeriod;
+ u16 beacon
_p
eriod = (u16)dev_network->Configuration.BeaconPeriod;
/*timestamp will be inserted by hardware*/
sz += 8;
ie += sz;
/*beacon interval : 2bytes*/
- *(__le16 *)ie = cpu_to_le16(beacon
P
eriod);
+ *(__le16 *)ie = cpu_to_le16(beacon
_p
eriod);
sz += 2;
ie += 2;
/*capability info*/