diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-05-25 11:52:42 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:37 -0400 |
commit | ed37b51610ff4e853893a92bb725bab99d17b236 (patch) | |
tree | aa351ed08764825e3ac453875cb6bfdaed164fa7 /drivers/net | |
parent | 78523daa86cf0b02c4d2f73b962c04ad565e9140 (diff) | |
download | linux-stable-ed37b51610ff4e853893a92bb725bab99d17b236.tar.gz linux-stable-ed37b51610ff4e853893a92bb725bab99d17b236.tar.bz2 linux-stable-ed37b51610ff4e853893a92bb725bab99d17b236.zip |
[PATCH] libertas: change debug output of libertas_interrupt()
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/libertas/defs.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h index d69f954ccf9d..7e8e7ac21786 100644 --- a/drivers/net/wireless/libertas/defs.h +++ b/drivers/net/wireless/libertas/defs.h @@ -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) \ diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index abba7ec499b2..b0cc42b67efb 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c @@ -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) |