Fixed bug in files mobile.c and ap.c, in the function up_from_dll