IBD_DRV_RESTART_IN_PROGRESS
ibd_set_mac_progress(state, IBD_DRV_RESTART_IN_PROGRESS);
#define IBD_DRV_DELETE_IN_PROGRESS IBD_DRV_RESTART_IN_PROGRESS
ibd_clr_mac_progress(state, IBD_DRV_RESTART_IN_PROGRESS);
ibd_set_mac_progress(state, IBD_DRV_RESTART_IN_PROGRESS);
ibd_clr_mac_progress(state, IBD_DRV_RESTART_IN_PROGRESS);
while (state->id_mac_state & IBD_DRV_RESTART_IN_PROGRESS)