test for init in reboot hook to be safe]
This commit is contained in:
@@ -312,6 +312,10 @@ void fp_reboot()
|
||||
{
|
||||
int i;
|
||||
|
||||
if(!fp){
|
||||
return;
|
||||
}
|
||||
|
||||
for (i = 0; i < bi_num_cards[AT8_FP10S_BI]; i++){
|
||||
|
||||
if(!fp[i].fptr){
|
||||
|
||||
@@ -251,6 +251,10 @@ void fpm_reboot()
|
||||
{
|
||||
int i;
|
||||
|
||||
if(!fpm){
|
||||
return;
|
||||
}
|
||||
|
||||
for (i = 0; i < bo_num_cards[AT8_FP10M_BO]; i++){
|
||||
|
||||
if(!fpm[i].fmptr){
|
||||
|
||||
Reference in New Issue
Block a user