OSDN Git Service

core: Fix passing timeout when disabling discoverable mode
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 20 Sep 2013 16:17:34 +0000 (11:17 -0500)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 20 Sep 2013 16:17:59 +0000 (11:17 -0500)
commit12494337e4ce67ce927bd2d8c86e9c176ec3e36f
treebe427d69a07cb85d7b2671ceeb16d461a5794530
parenta41a27b10ac5c5c704195e3c9266255d4c301ba5
core: Fix passing timeout when disabling discoverable mode

We should only pass a timeout value when enabling discoverable mode.
When disabling passing something non-zero would yield a "invalid
parameters" error.
src/adapter.c