search for: got_cmd_list

Displaying 1 result from an estimated 1 matches for "got_cmd_list".

2013 Jul 03
1
bcmxcp: Patch for using command map if present to control commands added by dstate_addcmd
...sponse received from Command List block"); + return FALSE; + } } } @@ -1141,6 +1155,7 @@ void upsdrv_initinfo(void) int iRating = 0, iIndex = 0, res, len; int ncpu = 0, buf; int conf_block_len = 0, alarm_block_len = 0, cmd_list_len = 0; + bool_t got_cmd_list = FALSE; /* Init BCM/XCP alarm descriptions */ init_alarm_map(); @@ -1299,11 +1314,13 @@ void upsdrv_initinfo(void) /* Get information on UPS commands */ if (cmd_list_len) - init_command_map(cmd_list_len); - - dstate_addcmd("shutdown.return"); - dsta...