Added some more debug messages to ramdl_enable().
This commit is contained in:
parent
6cf7a2ebcc
commit
09d37de5f1
|
@ -517,7 +517,7 @@ hw->dlstate = HFA384x_DLSTATE_RAMENABLED;
|
|||
|
||||
/* Enable the aux port */
|
||||
if ( (result = hfa384x_cmd_aux_enable(hw)) ) {
|
||||
WLAN_LOG_DEBUG0(1,"Aux enable failed.\n");
|
||||
WLAN_LOG_DEBUG1(1,"Aux enable failed, result=%d.\n", result);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -531,8 +531,8 @@ hw->dlstate = HFA384x_DLSTATE_RAMENABLED;
|
|||
/* Set the download state */
|
||||
hw->dlstate = HFA384x_DLSTATE_RAMENABLED;
|
||||
} else {
|
||||
WLAN_LOG_DEBUG2(1,"cmd_download(0x%04x, 0x%04x) failed.\n",
|
||||
lowaddr,hiaddr);
|
||||
WLAN_LOG_DEBUG3(1,"cmd_download(0x%04x, 0x%04x) failed, result=%d.\n",
|
||||
lowaddr,hiaddr, result);
|
||||
/* Disable the aux port */
|
||||
hfa384x_cmd_aux_disable(hw);
|
||||
}
|
||||
|
@ -578,6 +578,7 @@ hw->dlstate = HFA384x_DLSTATE_DISABLED;
|
|||
|
||||
/* Disable the aux port */
|
||||
hfa384x_cmd_aux_disable(hw);
|
||||
|
||||
DBFEXIT;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue