Added result code to error output for the NV and NVWRITE commands.
parent
ca89d16182
commit
fc76fe38e4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue