A couple of cleanups on error warnings and messages.

This commit is contained in:
mark 2000-06-28 12:41:23 +00:00
parent 0b5cf907dc
commit 94b8ba4532
1 changed files with 12 additions and 4 deletions

View File

@ -1174,8 +1174,7 @@ void prism2sta_inf_scanresults(wlandevice_t *wlandev, hfa384x_InfFrame_t *inf)
WLAN_LOG_DEBUG2(1,"rx scanresults, reason=%d, nbss=%d:\n",
inf->info.scanresult.scanreason, nbss);
for ( i = 0; i < nbss; i++) {
WLAN_LOG_DEBUG4(1, "
chid=%d anl=%d sl=%d bcnint=%d\n",
WLAN_LOG_DEBUG4(1, "chid=%d anl=%d sl=%d bcnint=%d\n",
sr->result[i].chid,
sr->result[i].anl,
sr->result[i].sl,
@ -1640,7 +1639,8 @@ void prism2sta_int_txexc(wlandevice_t *wlandev)
fid, sizeof(status), result);
goto failed;
}
WLAN_LOG_DEBUG1(3, "TxExc status=0x%x.\n", hfa384x2host_16(status));
status = hfa384x2host_16(status);
WLAN_LOG_DEBUG1(3, "TxExc status=0x%x.\n", status);
failed:
DBFEXIT;
return;
@ -1669,11 +1669,19 @@ void prism2sta_int_tx(wlandevice_t *wlandev)
hfa384x_t *hw = priv->hw;
UINT16 fid;
UINT16 status;
int result = 0;
DBFENTER;
fid = wlan_inw_le16_to_cpu(HFA384x_TXCOMPLFID(hw->iobase));
hfa384x_copy_from_bap(hw, hw->bap, fid, 0, &status, sizeof(status));
result =hfa384x_copy_from_bap(hw, hw->bap, fid, 0, &status, sizeof(status));
if ( result ) {
WLAN_LOG_DEBUG3(1,
"copy_from_bap(0x%04x, 0, %d) failed, result=0x%x\n",
fid, sizeof(status), result);
goto failed;
}
status = hfa384x2host_16(status);
WLAN_LOG_DEBUG1(4, "Tx Complete, status=0x%04x\n", status);
failed:
DBFEXIT;
return;
}