Trace mac_phy_exit cause

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5340 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Lionel Gauthier
2014-05-26 12:28:16 +00:00
parent 335289a677
commit 166235fd09
9 changed files with 25 additions and 36 deletions
+2 -2
View File
@@ -285,7 +285,7 @@ void signal_handler(int sig)
void exit_fun(const char* s)
{
if (s != NULL) {
printf("Exiting: %s\n",s);
printf("%s %s() Exiting: %s\n",__FILE__, __FUNCTION__, s);
}
oai_exit = 1;
@@ -1050,7 +1050,7 @@ static void *UE_thread(void *arg)
}
if (abs(openair_daq_vars.freq_offset) > 7500) {
LOG_I(PHY,"[initial_sync] No cell synchronization found, abondoning\n");
mac_xface->macphy_exit("");
mac_xface->macphy_exit("No cell synchronization found, abondoning");
}
else {
LOG_I(PHY,"[initial_sync] trying carrier off %d Hz\n",openair_daq_vars.freq_offset);