Skip to content

Commit

Permalink
[PATCH] libertas: fix two debug statements in cmdresp.c
Browse files Browse the repository at this point in the history
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: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Holger Schurig authored and David S. Miller committed Oct 10, 2007
1 parent bee093d commit 9556d21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wireless/libertas/cmdresp.c
Original file line number Diff line number Diff line change
Expand Up @@ -867,12 +867,12 @@ int libertas_process_event(wlan_private * priv)
wlan_adapter *adapter = priv->adapter;
u32 eventcause;

lbs_deb_enter(LBS_DEB_CMD);

spin_lock_irq(&adapter->driver_lock);
eventcause = adapter->eventcause;
spin_unlock_irq(&adapter->driver_lock);

lbs_deb_enter(LBS_DEB_CMD);

lbs_deb_cmd("event cause 0x%x\n", eventcause);

switch (eventcause >> SBI_EVENT_CAUSE_SHIFT) {
Expand Down Expand Up @@ -988,6 +988,6 @@ int libertas_process_event(wlan_private * priv)
adapter->eventcause = 0;
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;
}

0 comments on commit 9556d21

Please sign in to comment.