Added mutex for multiple SPI devices on the same SPI bus

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
4:15b58c119a0a
Parent:
3:ad95e296bfbf
Child:
11:5e3771b29385
--- a/cc3000.cpp	Thu Sep 19 08:04:22 2013 +0000
+++ b/cc3000.cpp	Sat Sep 21 15:01:05 2013 +0000
@@ -386,6 +386,7 @@
     _wlan.ioctl_set_connection_policy(0, 0, 0);
     _wlan.ioctl_del_profile(255);
 
+    get_user_file_info((uint8_t *)&user_info, sizeof(user_info));
     user_info.FTC = 0;
     set_user_file_info((uint8_t *)&user_info, sizeof(user_info));
 }