diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-04-19 17:18:16 +0000 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-04-19 17:18:16 +0000 | 
| commit | 7950cc52aba07e8323ddb275c25c454d4546daeb (patch) | |
| tree | c82b3d3ec3d1a4fe47a8857db1ab7b4b3b1d21cc /hcid/dbus.c | |
| parent | 66ee11f572972796398b5cb541398ee754cc0995 (diff) | |
DiscoverableTimeout should be seconds instead of milliseconds
Diffstat (limited to 'hcid/dbus.c')
| -rw-r--r-- | hcid/dbus.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/hcid/dbus.c b/hcid/dbus.c index 3f99c272..2b310958 100644 --- a/hcid/dbus.c +++ b/hcid/dbus.c @@ -1681,13 +1681,13 @@ void hcid_dbus_setscan_enable_complete(bdaddr_t *local)  	case (SCAN_PAGE | SCAN_INQUIRY):  		scan_mode = MODE_DISCOVERABLE;  		if (pdata->discoverable_timeout != 0) -			pdata->timeout_id = g_timeout_add(pdata->discoverable_timeout, +			pdata->timeout_id = g_timeout_add(pdata->discoverable_timeout * 1000,  							  discoverable_timeout_handler, pdata);  		break;  	case SCAN_INQUIRY:  		/* Address the scenario where another app changed the scan mode */  		if (pdata->discoverable_timeout != 0) -			pdata->timeout_id = g_timeout_add(pdata->discoverable_timeout, +			pdata->timeout_id = g_timeout_add(pdata->discoverable_timeout * 1000,  							  discoverable_timeout_handler, pdata);  		/* ignore, this event should not be sent*/  	default: | 
