Upgrade stack to NFA_PI_1.03.66+
Take code from NFCA_MI_430.10.00.07.
Additional changes include:
* Adjust copyright.
* Clean up stack and HAL diagnostic tracing.
* Fix ce_t4t_data_cback() in src/nfc/tags/ce_t4t.c in order to let HCE payment to work.
* Reduce compilation warnings.
Change-Id: I7b174229029d4a4955ff7750623e78c9a8c856f6
diff --git a/src/gki/ulinux/gki_ulinux.c b/src/gki/ulinux/gki_ulinux.c
index 93fd553..bb5a932 100644
--- a/src/gki/ulinux/gki_ulinux.c
+++ b/src/gki/ulinux/gki_ulinux.c
@@ -401,7 +401,7 @@
{
tGKI_OS *p_os = &gki_cb.os;
volatile int *p_run_cond = &p_os->no_timer_suspend;
- volatile static int wake_lock_count;
+ static volatile int wake_lock_count;
if ( FALSE == start )
{
/* this can lead to a race condition. however as we only read this variable in the timer loop
@@ -908,7 +908,7 @@
}
else
{
- return "BAD";
+ return (INT8*) "BAD";
}
}