Re: [PATCH] android: Fix compilation error for Android 4.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrei,

On Tue, Oct 22, 2013, Andrei Emeltchenko wrote:
> ---
>  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),

Seems like you're missing a matching conditional for the bt_callbacks
part.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux