mqtt specific components for the impact mbed endpoint library

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp

Revision:
19:194cdc5e5a1e
Parent:
18:8ab7aa1dbb41
Child:
23:34086bc15b02
--- a/MBEDEndpoint.cpp	Tue Apr 01 03:19:47 2014 +0000
+++ b/MBEDEndpoint.cpp	Tue Apr 01 03:23:25 2014 +0000
@@ -84,7 +84,7 @@
 #ifdef CELLULAR_NETWORK
      if (success) success = this->closeCellularModem();
      if (success) success = this->closeGPSReceiver();
-     if (this->m_cellular_mode != NULL) delete this->m_cellular_modem;
+     if (this->m_cellular_modem != NULL) delete this->m_cellular_modem;
      if (this->m_gps != NULL) delete this->m_gps;
 #else
      if (success) success = this->closeEthernet();