diff options
author | Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com> | 2014-10-17 15:38:15 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-10-24 14:04:33 +0200 |
commit | fbf70daad46d036958bca73d322317abb15a14ae (patch) | |
tree | f857c2bcf156346e8e0c44ce898016df1fdfb95e /android/tester-gatt.c | |
parent | 7e106e7451f52e0de0f00a0c82f16f9460d7d10c (diff) | |
download | bluez-fbf70daad46d036958bca73d322317abb15a14ae.tar.gz |
android/tester: Use BT_STATUS defines instead of hardcoded values
Status value in test case structs should use defined BT_STATUS types.
Diffstat (limited to 'android/tester-gatt.c')
-rw-r--r-- | android/tester-gatt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/android/tester-gatt.c b/android/tester-gatt.c index 97fe0f0c1..d12361959 100644 --- a/android/tester-gatt.c +++ b/android/tester-gatt.c @@ -611,7 +611,7 @@ static struct set_read_params set_read_param_3 = { .params = &read_params_1, .srvc_id = &service_2, .char_id = &characteristic_1, - .status = 0x01, + .status = BT_STATUS_FAIL }; static struct set_read_params set_read_param_4 = { @@ -637,7 +637,7 @@ static struct set_read_params set_read_param_6 = { .srvc_id = &service_1, .char_id = &characteristic_1, .descr_id = &desc_2, - .status = 0x01 + .status = BT_STATUS_FAIL }; static struct set_write_params set_write_param_1 = { @@ -658,7 +658,7 @@ static struct set_write_params set_write_param_3 = { .params = &write_params_1, .srvc_id = &service_1, .char_id = &characteristic_1, - .status = 0x01 + .status = BT_STATUS_FAIL }; static struct set_write_params set_write_param_4 = { @@ -674,7 +674,7 @@ static struct set_write_params set_write_param_5 = { .srvc_id = &service_1, .char_id = &characteristic_1, .descr_id = &desc_2, - .status = 0x01 + .status = BT_STATUS_FAIL }; static struct set_write_params set_write_param_6 = { |