Commit 742a4869 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: use lowercase for 'IFC_UP' struct element name

Cleanup patch to use lowercase for structure element name to follow
linux coding style.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e3da5d9d
...@@ -277,7 +277,7 @@ struct host_if_drv { ...@@ -277,7 +277,7 @@ struct host_if_drv {
struct timer_list remain_on_ch_timer; struct timer_list remain_on_ch_timer;
struct wilc_vif *remain_on_ch_timer_vif; struct wilc_vif *remain_on_ch_timer_vif;
bool IFC_UP; bool ifc_up;
int driver_handler_id; int driver_handler_id;
}; };
......
...@@ -45,7 +45,7 @@ static int dev_state_ev_handler(struct notifier_block *this, ...@@ -45,7 +45,7 @@ static int dev_state_ev_handler(struct notifier_block *this,
switch (event) { switch (event) {
case NETDEV_UP: case NETDEV_UP:
if (vif->iftype == STATION_MODE || vif->iftype == CLIENT_MODE) { if (vif->iftype == STATION_MODE || vif->iftype == CLIENT_MODE) {
hif_drv->IFC_UP = 1; hif_drv->ifc_up = 1;
wilc_optaining_ip = false; wilc_optaining_ip = false;
del_timer(&wilc_during_ip_timer); del_timer(&wilc_during_ip_timer);
} }
...@@ -65,7 +65,7 @@ static int dev_state_ev_handler(struct notifier_block *this, ...@@ -65,7 +65,7 @@ static int dev_state_ev_handler(struct notifier_block *this,
case NETDEV_DOWN: case NETDEV_DOWN:
if (vif->iftype == STATION_MODE || vif->iftype == CLIENT_MODE) { if (vif->iftype == STATION_MODE || vif->iftype == CLIENT_MODE) {
hif_drv->IFC_UP = 0; hif_drv->ifc_up = 0;
wilc_optaining_ip = false; wilc_optaining_ip = false;
} }
......
...@@ -535,9 +535,9 @@ static void cfg_connect_result(enum conn_event conn_disconn_evt, ...@@ -535,9 +535,9 @@ static void cfg_connect_result(enum conn_event conn_disconn_evt,
if (!wfi_drv->p2p_connect) if (!wfi_drv->p2p_connect)
wlan_channel = INVALID_CHANNEL; wlan_channel = INVALID_CHANNEL;
if (wfi_drv->IFC_UP && dev == wl->vif[1]->ndev) if (wfi_drv->ifc_up && dev == wl->vif[1]->ndev)
disconn_info->reason = 3; disconn_info->reason = 3;
else if (!wfi_drv->IFC_UP && dev == wl->vif[1]->ndev) else if (!wfi_drv->ifc_up && dev == wl->vif[1]->ndev)
disconn_info->reason = 1; disconn_info->reason = 1;
cfg80211_disconnected(dev, disconn_info->reason, cfg80211_disconnected(dev, disconn_info->reason,
......
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