Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: wilc1000: Remove camel case in variable names.

Remove a problem detect by checkpatch.pl
CHECK: Avoid CamelCase: <srcAdd>

Signed-off-by: Anchal Jain <anchalj109@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Anchal Jain and committed by
Greg Kroah-Hartman
add0f9fe 992aa7b5

+3 -3
+3 -3
drivers/staging/wilc1000/linux_mon.c
··· 24 24 25 25 static struct net_device *wilc_wfi_mon; /* global monitor netdev */ 26 26 27 - static u8 srcAdd[6]; 27 + static u8 srcadd[6]; 28 28 static u8 bssid[6]; 29 29 static u8 broadcast[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; 30 30 /** ··· 228 228 skb->dev = mon_priv->real_ndev; 229 229 230 230 /* Identify if Ethernet or MAC header (data or mgmt) */ 231 - memcpy(srcAdd, &skb->data[10], 6); 231 + memcpy(srcadd, &skb->data[10], 6); 232 232 memcpy(bssid, &skb->data[16], 6); 233 233 /* if source address and bssid fields are equal>>Mac header */ 234 234 /*send it to mgmt frames handler */ 235 - if (!(memcmp(srcAdd, bssid, 6))) { 235 + if (!(memcmp(srcadd, bssid, 6))) { 236 236 ret = mon_mgmt_tx(mon_priv->real_ndev, skb->data, skb->len); 237 237 if (ret) 238 238 netdev_err(dev, "fail to mgmt tx\n");