Change-Id: I68bf587381b3a9371512d3d2c74cb5091c496b94
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
physical_sensor *sensor;
std::pair<fd_sensors_t::iterator, fd_sensors_t::iterator> ret;
+ /* find sensors which is based on same device(fd) */
ret = m_fd_sensors.equal_range(fd);
for (auto it_sensor = ret.first; it_sensor != ret.second; ++it_sensor) {
sensor = it_sensor->second;
+ /* check whether the id of this sensor is in id list(parameter) or not */
auto result = std::find(std::begin(ids), std::end(ids), sensor->get_hal_id());
if (result == std::end(ids))