Correctly reset pstat->om on dos RESET
Tested-by: IoTivity Jenkins
@@ -132,7 +132,7 @@ oc_pstat_handle_state(oc_sec_pstat_t *ps, size_t device)
ps->isop = false;
ps->cm = 1;
ps->tm = 2;
- pstat->om = 3;
+ ps->om = 3;
ps->sm = 4;
memset(ps->rowneruuid.id, 0, 16);
oc_core_regen_unique_ids(device);
