diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-11-28 08:08:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:56 -0500 |
commit | 01affb653077d8581552d566276b405237636e5c (patch) | |
tree | 973c1e1ffdd7c14287dc77be7d02d391e1482861 /drivers | |
parent | 91843463bc4ca5eb2be4b8b5c5efd474e0c56283 (diff) |
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: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index a3957698edbd..67b6d7959e17 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -521,7 +521,7 @@ static int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
521 | int ret = 0; | 521 | int ret = 0; |
522 | struct lbs_private *priv = dev->priv; | 522 | struct lbs_private *priv = dev->priv; |
523 | 523 | ||
524 | lbs_deb_enter(LBS_DEB_NET); | 524 | lbs_deb_enter(LBS_DEB_TX); |
525 | 525 | ||
526 | if (priv->dnld_sent || priv->adapter->TxLockFlag) { | 526 | if (priv->dnld_sent || priv->adapter->TxLockFlag) { |
527 | priv->stats.tx_dropped++; | 527 | priv->stats.tx_dropped++; |
@@ -535,7 +535,7 @@ static int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
535 | if (lbs_process_tx(priv, skb) == 0) | 535 | if (lbs_process_tx(priv, skb) == 0) |
536 | dev->trans_start = jiffies; | 536 | dev->trans_start = jiffies; |
537 | done: | 537 | done: |
538 | lbs_deb_leave_args(LBS_DEB_NET, "ret %d", ret); | 538 | lbs_deb_leave_args(LBS_DEB_TX, "ret %d", ret); |
539 | return ret; | 539 | return ret; |
540 | } | 540 | } |
541 | 541 | ||
@@ -571,7 +571,7 @@ static int lbs_pre_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
571 | struct lbs_private *priv = dev->priv; | 571 | struct lbs_private *priv = dev->priv; |
572 | int ret; | 572 | int ret; |
573 | 573 | ||
574 | lbs_deb_enter(LBS_DEB_NET); | 574 | lbs_deb_enter(LBS_DEB_TX); |
575 | 575 | ||
576 | if (priv->adapter->monitormode != LBS_MONITOR_OFF) { | 576 | if (priv->adapter->monitormode != LBS_MONITOR_OFF) { |
577 | netif_stop_queue(dev); | 577 | netif_stop_queue(dev); |
@@ -581,7 +581,7 @@ static int lbs_pre_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
581 | UNSET_MESH_FRAME(skb); | 581 | UNSET_MESH_FRAME(skb); |
582 | 582 | ||
583 | ret = lbs_hard_start_xmit(skb, dev); | 583 | ret = lbs_hard_start_xmit(skb, dev); |
584 | lbs_deb_leave_args(LBS_DEB_NET, "ret %d", ret); | 584 | lbs_deb_leave_args(LBS_DEB_TX, "ret %d", ret); |
585 | return ret; | 585 | return ret; |
586 | } | 586 | } |
587 | 587 | ||