Skip to content

Commit

Permalink
[PATCH] libertas: change debug output of libertas_interrupt()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Holger Schurig authored and John W. Linville committed Jun 11, 2007
1 parent 78523da commit ed37b51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/libertas/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down
6 changes: 3 additions & 3 deletions drivers/net/wireless/libertas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand All @@ -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)
Expand Down

0 comments on commit ed37b51

Please sign in to comment.