commit | 4640bafca6c6cb82dfec648e1c62147414e9f3a2 | [log] [tgz] |
---|---|---|
author | Siddharth Chandrasekaran <siddharth@embedjournal.com> | Thu Sep 10 22:05:03 2020 +0530 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Oct 21 17:36:16 2020 +0200 |
tree | 1f8b199f4a66029a2948d6dd07f5dc2c64b49afc | |
parent | c529b6fa8f053ee8a7c55bb961e5a39e42853fd3 [diff] |
mgmt/osdp: Fix early check of no-data that holds PD online When waiting for data from CP, the data timeout check must happen before no-data check. If not, a partial packet may endlessly hold PD in "wait-for-data" state, while the PD keeps reporting status as online till another packet is received. Fix this my moving no-data check below the timeout check. Signed-off-by: Siddharth Chandrasekaran <siddharth@embedjournal.com>