提交 ed37b516 编写于 作者: H Holger Schurig 提交者: John W. Linville

[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: NHolger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 78523daa
......@@ -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) \
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册