diff --git a/src/prism2/driver/hfa384x.c b/src/prism2/driver/hfa384x.c index 64035ad..ed066eb 100644 --- a/src/prism2/driver/hfa384x.c +++ b/src/prism2/driver/hfa384x.c @@ -899,8 +899,9 @@ WLAN_HEX_DUMP(1, "dldata", buf+(hw->bufinfo.len*i), currlen); result = hfa384x_cmd_download(hw, HFA384x_PROGMODE_NV, destlo, desthi, currlen); if ( result ) { - WLAN_LOG_ERROR3("download(NV,lo=%x,hi=%x,len=%lx) cmd failed. Aborting d/l\n", - destlo, desthi, currlen); + WLAN_LOG_ERROR4("download(NV,lo=%x,hi=%x,len=%lx) " + "cmd failed, result=%d. Aborting d/l\n", + destlo, desthi, currlen, result); kfree_s(verbuf, len); return result; } @@ -910,8 +911,10 @@ WLAN_HEX_DUMP(1, "dldata", buf+(hw->bufinfo.len*i), currlen); /* set the download 'write flash' mode */ result = hfa384x_cmd_download(hw, HFA384x_PROGMODE_NVWRITE, 0,0,0); if ( result ) { - WLAN_LOG_ERROR3("download(NVWRITE,lo=%x,hi=%x,len=%lx) cmd failed. Aborting d/l\n", - destlo, desthi, currlen); + WLAN_LOG_ERROR4( + "download(NVWRITE,lo=%x,hi=%x,len=%lx) " + "cmd failed, result=%d. Aborting d/l\n", + destlo, desthi, currlen, result); kfree_s(verbuf, len); return result; }