Skip to content
Commit c9e64e0d authored by Siddharth Chandrasekaran's avatar Siddharth Chandrasekaran Committed by Stephanos Ioannidis
Browse files

mgmt/osdp: pd: Add capability checks on incoming commands



OSDP compliant devices communicate their capabilities and discover what
their peer can and cannot do. Right now, PD advertises these capabilities
and expects CP to honor them. Although this is not known to cause any
issues, it is not desirable to allow such accesses.

Add a check of incoming commands to to validate that the corresponding
capability was enabled and advertised.

Signed-off-by: default avatarSiddharth Chandrasekaran <sidcha.dev@gmail.com>
parent a369bf7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment