Commit 01affb65 authored by Holger Schurig's avatar Holger Schurig Committed by David S. Miller

libertas: tweak tx path debugging

Make two functions in the TX packet path emit
their debug messages with LBS_DEB_TX, not LBS_DEB_MAIN.
Signed-off-by: default avatarHolger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 91843463
...@@ -521,7 +521,7 @@ static int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -521,7 +521,7 @@ static int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
int ret = 0; int ret = 0;
struct lbs_private *priv = dev->priv; struct lbs_private *priv = dev->priv;
lbs_deb_enter(LBS_DEB_NET); lbs_deb_enter(LBS_DEB_TX);
if (priv->dnld_sent || priv->adapter->TxLockFlag) { if (priv->dnld_sent || priv->adapter->TxLockFlag) {
priv->stats.tx_dropped++; priv->stats.tx_dropped++;
...@@ -535,7 +535,7 @@ static int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -535,7 +535,7 @@ static int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
if (lbs_process_tx(priv, skb) == 0) if (lbs_process_tx(priv, skb) == 0)
dev->trans_start = jiffies; dev->trans_start = jiffies;
done: done:
lbs_deb_leave_args(LBS_DEB_NET, "ret %d", ret); lbs_deb_leave_args(LBS_DEB_TX, "ret %d", ret);
return ret; return ret;
} }
...@@ -571,7 +571,7 @@ static int lbs_pre_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -571,7 +571,7 @@ static int lbs_pre_start_xmit(struct sk_buff *skb, struct net_device *dev)
struct lbs_private *priv = dev->priv; struct lbs_private *priv = dev->priv;
int ret; int ret;
lbs_deb_enter(LBS_DEB_NET); lbs_deb_enter(LBS_DEB_TX);
if (priv->adapter->monitormode != LBS_MONITOR_OFF) { if (priv->adapter->monitormode != LBS_MONITOR_OFF) {
netif_stop_queue(dev); netif_stop_queue(dev);
...@@ -581,7 +581,7 @@ static int lbs_pre_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -581,7 +581,7 @@ static int lbs_pre_start_xmit(struct sk_buff *skb, struct net_device *dev)
UNSET_MESH_FRAME(skb); UNSET_MESH_FRAME(skb);
ret = lbs_hard_start_xmit(skb, dev); ret = lbs_hard_start_xmit(skb, dev);
lbs_deb_leave_args(LBS_DEB_NET, "ret %d", ret); lbs_deb_leave_args(LBS_DEB_TX, "ret %d", ret);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment