Fix wifi so copy
Change-Id: Iab8578a45348242ca195f55f14fc9b37c601b18c
diff --git a/build.sh b/build.sh
index 6a65bd4..96a6346 100755
--- a/build.sh
+++ b/build.sh
@@ -64,6 +64,7 @@
function copy_bin_and_lib()
{
# Copy All SO Files.
+# cp -f mbtk/libmbtk_lib/wifi/libs out/lib
cp -f out/lib/* $1/lib
# Copy All Bin Files.
diff --git a/mbtk/libmbtk_lib/Makefile b/mbtk/libmbtk_lib/Makefile
old mode 100644
new mode 100755
index c092003..2e6998f
--- a/mbtk/libmbtk_lib/Makefile
+++ b/mbtk/libmbtk_lib/Makefile
@@ -153,8 +153,7 @@
#wifi
LOCAL_SRC_FILES += \
wifi/sta_cli.c \
- wifi/sta_ctrl.c \
- wifi/mbtk_wifi_ap.c
+ wifi/sta_ctrl.c
OBJS = $(patsubst %.c, %.o, $(patsubst %.cpp, %.o, $(LOCAL_SRC_FILES)))
@@ -170,6 +169,7 @@
$(dtarget):$(OBJS)
$(CC) $(CFLAGS) $(DEFINE) $(LIB_DIR) $(LIBS) $(OBJS) -o $@
+ @cp -f wifi/libs/*.so $(OUT_DIR)/lib
%.o:%.c
$(CC) $(CFLAGS) $(INC_DIR) $(DEFINE) -c $< -o $@
diff --git a/mbtk/libmbtk_lib/wifi/libs/libwpa_client.so b/mbtk/libmbtk_lib/wifi/libs/libwpa_client.so
new file mode 100755
index 0000000..7f492b2
--- /dev/null
+++ b/mbtk/libmbtk_lib/wifi/libs/libwpa_client.so
Binary files differ