Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iotivity-lite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
31
Issues
31
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
IoTivity
iotivity-lite
Commits
d2546a95
Commit
d2546a95
authored
Jan 07, 2020
by
Kishen Maloor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch 'master' into 'master'"
This reverts merge request
!2
parent
43956c94
Pipeline
#87
passed with stage
in 49 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
security/oc_pstat.c
security/oc_pstat.c
+3
-3
No files found.
security/oc_pstat.c
View file @
d2546a95
...
...
@@ -258,6 +258,9 @@ oc_pstat_handle_state(oc_sec_pstat_t *ps, size_t device, bool from_storage,
ps
->
p
=
false
;
}
break
;
case
OC_DOS_RFNOP
:
{
#ifdef OC_SERVER
coap_remove_observers_on_dos_change
(
device
,
false
);
#endif
/* OC_SERVER */
ps
->
p
=
true
;
ps
->
cm
=
0
;
ps
->
tm
=
0
;
...
...
@@ -310,9 +313,6 @@ oc_pstat_handle_state(oc_sec_pstat_t *ps, size_t device, bool from_storage,
goto
pstat_state_error
;
}
ps
->
p
=
false
;
#ifdef OC_SERVER
coap_remove_observers_on_dos_change
(
device
,
false
);
#endif
/* OC_SERVER */
}
break
;
case
OC_DOS_SRESET
:
{
ps
->
p
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment