[PATCH] libertas: change debug output of libertas_interrupt()
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 25 May 2007 15:52:42 +0000 (11:52 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:37 +0000 (14:28 -0400)
It used to be LBS_DEB_MAIN, now it's LBS_DEB_THREAD

Also fixed a missing ":" in lbs_deb_enter()

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/defs.h
drivers/net/wireless/libertas/main.c

index d69f954ccf9d061b5ae89dad27e39f2dfde4cb2a..7e8e7ac2178677381c1ef858204e72e8b47b0689 100644 (file)
@@ -50,7 +50,7 @@ do { if ((libertas_debug & (grp)) == (grp)) \
 #endif
 
 #define lbs_deb_enter(grp) \
-  LBS_DEB_LL(grp | LBS_DEB_ENTER, "%s() %d enter\n", __FUNCTION__, __LINE__);
+  LBS_DEB_LL(grp | LBS_DEB_ENTER, "%s():%d enter\n", __FUNCTION__, __LINE__);
 #define lbs_deb_enter_args(grp, fmt, args...) \
   LBS_DEB_LL(grp | LBS_DEB_ENTER, "%s(" fmt "):%d\n", __FUNCTION__, ## args, __LINE__);
 #define lbs_deb_leave(grp) \
index abba7ec499b2c0a50e88656073bf0640fa914481..b0cc42b67efb99f2c8dabf92ddb9dfba5b25d44f 100644 (file)
@@ -1130,9 +1130,9 @@ void libertas_interrupt(struct net_device *dev)
 {
        wlan_private *priv = dev->priv;
 
-       lbs_deb_enter(LBS_DEB_MAIN);
+       lbs_deb_enter(LBS_DEB_THREAD);
 
-       lbs_deb_main("libertas_interrupt: intcounter=%d\n",
+       lbs_deb_thread("libertas_interrupt: intcounter=%d\n",
               priv->adapter->intcounter);
 
        priv->adapter->intcounter++;
@@ -1144,7 +1144,7 @@ void libertas_interrupt(struct net_device *dev)
 
        wake_up_interruptible(&priv->mainthread.waitq);
 
-       lbs_deb_leave(LBS_DEB_MAIN);
+       lbs_deb_leave(LBS_DEB_THREAD);
 }
 
 static int wlan_init_module(void)