[PATCH] libertas: fix debug enter/leave prints for libertas_execute_next_command
authorDan Williams <dcbw@redhat.com>
Fri, 25 May 2007 21:29:34 +0000 (17:29 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:42 +0000 (14:28 -0400)
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c

index 910706c54def05c8521a2530f89dcc32affe7b32..53ac28e3ecafd520a025f10a1be34d03b63038d8 100644 (file)
@@ -1670,7 +1670,7 @@ int libertas_execute_next_command(wlan_private * priv)
        unsigned long flags;
        int ret = 0;
 
-       lbs_deb_cmd("libertas_execute_next_command\n");
+       lbs_deb_enter(LBS_DEB_CMD);
 
        spin_lock_irqsave(&adapter->driver_lock, flags);
 
@@ -1805,6 +1805,7 @@ int libertas_execute_next_command(wlan_private * priv)
 
        ret = 0;
 done:
+       lbs_deb_leave(LBS_DEB_CMD);
        return ret;
 }