Commit 0a0e09a2 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: rename hAgingTimer to avoid camelCase issue

Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7c4f6fe4
...@@ -90,7 +90,7 @@ static const struct wiphy_wowlan_support wowlan_support = { ...@@ -90,7 +90,7 @@ static const struct wiphy_wowlan_support wowlan_support = {
static struct network_info last_scanned_shadow[MAX_NUM_SCANNED_NETWORKS_SHADOW]; static struct network_info last_scanned_shadow[MAX_NUM_SCANNED_NETWORKS_SHADOW];
static u32 last_scanned_cnt; static u32 last_scanned_cnt;
struct timer_list wilc_during_ip_timer; struct timer_list wilc_during_ip_timer;
static struct timer_list hAgingTimer; static struct timer_list aging_timer;
static u8 op_ifcs; static u8 op_ifcs;
#define CHAN2G(_channel, _freq, _flags) { \ #define CHAN2G(_channel, _freq, _flags) { \
...@@ -174,7 +174,7 @@ static void clear_shadow_scan(void) ...@@ -174,7 +174,7 @@ static void clear_shadow_scan(void)
int i; int i;
if (op_ifcs == 0) { if (op_ifcs == 0) {
del_timer_sync(&hAgingTimer); del_timer_sync(&aging_timer);
for (i = 0; i < last_scanned_cnt; i++) { for (i = 0; i < last_scanned_cnt; i++) {
if (last_scanned_shadow[last_scanned_cnt].ies) { if (last_scanned_shadow[last_scanned_cnt].ies) {
...@@ -276,7 +276,7 @@ static void remove_network_from_shadow(struct timer_list *unused) ...@@ -276,7 +276,7 @@ static void remove_network_from_shadow(struct timer_list *unused)
} }
if (last_scanned_cnt != 0) if (last_scanned_cnt != 0)
mod_timer(&hAgingTimer, jiffies + msecs_to_jiffies(AGING_TIME)); mod_timer(&aging_timer, jiffies + msecs_to_jiffies(AGING_TIME));
} }
static void clear_duringIP(struct timer_list *unused) static void clear_duringIP(struct timer_list *unused)
...@@ -290,7 +290,7 @@ static int is_network_in_shadow(struct network_info *nw_info, void *user_void) ...@@ -290,7 +290,7 @@ static int is_network_in_shadow(struct network_info *nw_info, void *user_void)
int i; int i;
if (last_scanned_cnt == 0) { if (last_scanned_cnt == 0) {
mod_timer(&hAgingTimer, jiffies + msecs_to_jiffies(AGING_TIME)); mod_timer(&aging_timer, jiffies + msecs_to_jiffies(AGING_TIME));
state = -1; state = -1;
} else { } else {
for (i = 0; i < last_scanned_cnt; i++) { for (i = 0; i < last_scanned_cnt; i++) {
...@@ -2272,7 +2272,7 @@ int wilc_init_host_int(struct net_device *net) ...@@ -2272,7 +2272,7 @@ int wilc_init_host_int(struct net_device *net)
priv = wdev_priv(net->ieee80211_ptr); priv = wdev_priv(net->ieee80211_ptr);
if (op_ifcs == 0) { if (op_ifcs == 0) {
timer_setup(&hAgingTimer, remove_network_from_shadow, 0); timer_setup(&aging_timer, remove_network_from_shadow, 0);
timer_setup(&wilc_during_ip_timer, clear_duringIP, 0); timer_setup(&wilc_during_ip_timer, clear_duringIP, 0);
} }
op_ifcs++; op_ifcs++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment