diff options
author | Matt Jordan <mjordan@digium.com> | 2015-06-27 17:51:43 -0500 |
---|---|---|
committer | Matt Jordan <mjordan@digium.com> | 2015-07-11 10:24:39 -0500 |
commit | 328f0be806cc8236288c8760007ab149a865a196 (patch) | |
tree | bbffadb701473c8f6ce482741a9a59d137e73173 /missing | |
parent | e51d86682a33ab410c3fa0ceb069657614915ef9 (diff) |
main/devicestate: Prevent duplicate registration of device state providers
Currently, the device state provider API will allow you to register a
device state provider with the same case insensitive name more than
once. This could cause strange issues, as the duplicate device state
providers will not be queried when a device's state has to be polled.
This patch updates the API such that a device state provider with the
same name as one that has already registered will be rejected.
Change-Id: I4a418a12280b7b6e4960bd44f302e27cd036ceb2
Diffstat (limited to 'missing')
0 files changed, 0 insertions, 0 deletions