Added clear of tbusy when hard_start called w/ tbusy set. Change the db

log level for some things in prism2sta.c
This commit is contained in:
mark 2000-01-28 07:56:33 +00:00
parent f8454d8a86
commit 9631bc8b62
2 changed files with 4 additions and 3 deletions

View File

@ -326,6 +326,7 @@ int p80211knetdev_hard_start_xmit( struct sk_buff *skb, netdevice_t *netdev)
if ( test_and_set_bit(0, (void*)&(netdev->tbusy)) != 0 ) {
/* We've been called w/ tbusy set, has the tx */
/* path stalled? */
netdev->tbusy = 0;
WLAN_LOG_DEBUG0(1, "called when tbusy set\n");
result = 1;
} else {

View File

@ -454,7 +454,7 @@ dmpmem(pb->p80211_payload, pb->p80211_payloadlen);
result = 2;
goto failed;
}
result = 1; /* indicate we haven't any buffers, txcomplete will clear */
result = 1; /* indicate we haven't any buffers, int_alloc will clear */
failed:
p80211pb_free(pb);
@ -1204,7 +1204,7 @@ void prism2sta_int_infdrop(wlandevice_t *wlandev)
hfa384x_t *hw = priv->hw;
#endif
DBFENTER;
WLAN_LOG_DEBUG0(1, "Info frame dropped due to card mem low.\n");
WLAN_LOG_DEBUG0(3, "Info frame dropped due to card mem low.\n");
DBFEXIT;
return;
}
@ -1320,7 +1320,7 @@ void prism2sta_int_txexc(wlandevice_t *wlandev)
fid, sizeof(status), result);
goto failed;
}
WLAN_LOG_DEBUG1(4, "TxExc status=0x%x.\n", status);
WLAN_LOG_DEBUG1(3, "TxExc status=0x%x.\n", status);
failed:
DBFEXIT;
return;