Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] android: Fix compilation error for Android 4.2.2
@ 2013-10-22 10:10 Andrei Emeltchenko
  2013-10-22 10:37 ` Andrei Emeltchenko
  2013-10-22 10:44 ` Johan Hedberg
  0 siblings, 2 replies; 4+ messages in thread
From: Andrei Emeltchenko @ 2013-10-22 10:10 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

---
 android/client/if-bt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/android/client/if-bt.c b/android/client/if-bt.c
index 5447e0c..330a3fa 100644
--- a/android/client/if-bt.c
+++ b/android/client/if-bt.c
@@ -364,11 +364,13 @@ static void dut_mode_recv_cb(uint16_t opcode, uint8_t *buf, uint8_t len)
 	haltest_info("%s\n", __func__);
 }
 
+#if PLATFORM_SDK_VERSION > 17
 static void le_test_mode_cb(bt_status_t status, uint16_t num_packets)
 {
 	haltest_info("%s %s %d\n", __func__, bt_state_t2str(status),
 								num_packets);
 }
+#endif
 
 static bt_callbacks_t bt_callbacks = {
 	.size = sizeof(bt_callbacks),
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-23  7:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-22 10:10 [PATCH] android: Fix compilation error for Android 4.2.2 Andrei Emeltchenko
2013-10-22 10:37 ` Andrei Emeltchenko
2013-10-23  7:51   ` Johan Hedberg
2013-10-22 10:44 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox