SFC_ASSERT(sfc_adapter_is_locked(sa));
- SFC_ASSERT(sa->state == SFC_ADAPTER_INITIALIZED);
+ SFC_ASSERT(sa->state == SFC_ADAPTER_INITIALIZED ||
+ sa->state == SFC_ADAPTER_CONFIGURED);
sa->state = SFC_ADAPTER_CONFIGURING;
rc = sfc_check_conf(sa);
* V |
* +---------------+------------+
* | INITIALIZED |
- * +---------------+<-----------+
- * |.dev_configure |
- * V |
- * +---------------+ |
- * | CONFIGURING |------------^
- * +---------------+ failed |
- * |success |
- * | +---------------+
- * | | CLOSING |
- * | +---------------+
- * | ^
- * V |.dev_close
- * +---------------+------------+
- * | CONFIGURED |
+ * +---------------+<-----------<---------------+
+ * |.dev_configure | |
+ * V |failed |
+ * +---------------+------------+ |
+ * | CONFIGURING | |
+ * +---------------+----+ |
+ * |success | |
+ * | | +---------------+
+ * | | | CLOSING |
+ * | | +---------------+
+ * | | ^
+ * V |.dev_configure |
+ * +---------------+----+ |.dev_close
+ * | CONFIGURED |----------------------------+
* +---------------+<-----------+
* |.dev_start |
* V |