Commit 9556d212 authored by Holger Schurig's avatar Holger Schurig Committed by David S. Miller

[PATCH] libertas: fix two debug statements in cmdresp.c

Purely cosmetic: this moves an lbs_deb_enter() to the proper place
and changes an erraneous lbs_deb_enter_args() into lbs_deb_leave_args()
Signed-off-by: default avatarHolger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent bee093d6
...@@ -867,12 +867,12 @@ int libertas_process_event(wlan_private * priv) ...@@ -867,12 +867,12 @@ int libertas_process_event(wlan_private * priv)
wlan_adapter *adapter = priv->adapter; wlan_adapter *adapter = priv->adapter;
u32 eventcause; u32 eventcause;
lbs_deb_enter(LBS_DEB_CMD);
spin_lock_irq(&adapter->driver_lock); spin_lock_irq(&adapter->driver_lock);
eventcause = adapter->eventcause; eventcause = adapter->eventcause;
spin_unlock_irq(&adapter->driver_lock); spin_unlock_irq(&adapter->driver_lock);
lbs_deb_enter(LBS_DEB_CMD);
lbs_deb_cmd("event cause 0x%x\n", eventcause); lbs_deb_cmd("event cause 0x%x\n", eventcause);
switch (eventcause >> SBI_EVENT_CAUSE_SHIFT) { switch (eventcause >> SBI_EVENT_CAUSE_SHIFT) {
...@@ -988,6 +988,6 @@ int libertas_process_event(wlan_private * priv) ...@@ -988,6 +988,6 @@ int libertas_process_event(wlan_private * priv)
adapter->eventcause = 0; adapter->eventcause = 0;
spin_unlock_irq(&adapter->driver_lock); spin_unlock_irq(&adapter->driver_lock);
lbs_deb_enter_args(LBS_DEB_CMD, "ret %d", ret); lbs_deb_leave_args(LBS_DEB_CMD, "ret %d", ret);
return ret; return ret;
} }
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