Modify the comparing statement for storing local irk 20/116120/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 23 Feb 2017 04:29:20 +0000 (13:29 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 23 Feb 2017 05:19:06 +0000 (14:19 +0900)
commit3b5dbaafb6afd8581b8dcab0ed49c563efb85b3a
treebde64420986279668e1db96a06d6920d1b970a27
parentc59f23fd14b158efb05478b31171bea0cd09fe0d
Modify the comparing statement for storing local irk

store_local_irk function's return type is bool. It can't return the
negative value. So the error logic will not work.

Change-Id: Id49650ddb2e718fc9054963c8eac5ec785e35ad9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/adapter.c