aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmdresp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r--drivers/net/wireless/libertas/cmdresp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c
index 53671e96b043..93bf63bad0f6 100644
--- a/drivers/net/wireless/libertas/cmdresp.c
+++ b/drivers/net/wireless/libertas/cmdresp.c
@@ -867,12 +867,12 @@ int libertas_process_event(wlan_private * priv)
867 wlan_adapter *adapter = priv->adapter; 867 wlan_adapter *adapter = priv->adapter;
868 u32 eventcause; 868 u32 eventcause;
869 869
870 lbs_deb_enter(LBS_DEB_CMD);
871
870 spin_lock_irq(&adapter->driver_lock); 872 spin_lock_irq(&adapter->driver_lock);
871 eventcause = adapter->eventcause; 873 eventcause = adapter->eventcause;
872 spin_unlock_irq(&adapter->driver_lock); 874 spin_unlock_irq(&adapter->driver_lock);
873 875
874 lbs_deb_enter(LBS_DEB_CMD);
875
876 lbs_deb_cmd("event cause 0x%x\n", eventcause); 876 lbs_deb_cmd("event cause 0x%x\n", eventcause);
877 877
878 switch (eventcause >> SBI_EVENT_CAUSE_SHIFT) { 878 switch (eventcause >> SBI_EVENT_CAUSE_SHIFT) {
@@ -988,6 +988,6 @@ int libertas_process_event(wlan_private * priv)
988 adapter->eventcause = 0; 988 adapter->eventcause = 0;
989 spin_unlock_irq(&adapter->driver_lock); 989 spin_unlock_irq(&adapter->driver_lock);
990 990
991 lbs_deb_enter_args(LBS_DEB_CMD, "ret %d", ret); 991 lbs_deb_leave_args(LBS_DEB_CMD, "ret %d", ret);
992 return ret; 992 return ret;
993} 993}