carl9170 firmware: remove usb transport watchdog
[carl9170fw.git] / carlfw / src / cmd.c
index 058f9674677752763bd20bb456b119ab6fdaa44a..e04e8da486b44dfac8eafe62374cb4cd595a6831 100644 (file)
@@ -69,11 +69,9 @@ void handle_cmd(struct carl9170_rsp *resp)
 
        case CARL9170_CMD_REBOOT:
                /*
-                * reboot does not return and generates no response
                 * resp->len = 0;
                 */
-
-               reboot();
+               fw.reboot = 1;
                break;
 
        case CARL9170_CMD_READ_TSF:
@@ -125,14 +123,6 @@ void handle_cmd(struct carl9170_rsp *resp)
 # endif /* CONFIG_CARL9170FW_PSM */
 #endif /* CONFIG_CARL9170FW_RADIO_FUNCTIOS */
 
-#ifdef CONFIG_CARL9170FW_USB_WATCHDOG
-       case CARL9170_CMD_USB_WD:
-               resp->hdr.len = 4;
-               fw.usb.watchdog.state = le32_to_cpu(cmd->watchdog.state);
-               break;
-
-#endif /* CONFIG_CARL9170FW_USB_WATCHDOG */
-
        default:
                break;
        }