NanManagerState mCurrentState;
NanCommand *mCurrentCommand;
- unsigned char mDiscoveryMacAddress[NAN_MAC_ADDR_LEN];
+ unsigned char mDiscoveryMacAddress[NAN_MAC_ADDR_LEN + 1];
NanCapabilitiesInfo mCapabilitiesInfo;
std::string mWifiInterfaceName;
mDataPathManager.clear(); // Should be already done
mPeerManager.clear();
mCommandQueue.clear(); // Should be already done
- deleteAllNanInterfaces();
+ //deleteAllNanInterfaces();
scheduleCommand(cmd);
setEnabled(false);
NAN_LOGI("\t - maxConcurrentNanClusters: %u", mCapabilitiesInfo.maxConcurrentNanClusters);
NAN_LOGI("\t - maxPublishes: %u", mCapabilitiesInfo.maxPublishes);
NAN_LOGI("\t - maxSubscribes: %u", mCapabilitiesInfo.maxSubscribes);
+ NAN_LOGI("\t - maxServiceSpecificInfoLen: %u", mCapabilitiesInfo.maxServiceSpecificInfoLen);
+ NAN_LOGI("\t - maxAppInfoLen: %u", mCapabilitiesInfo.maxAppInfoLen);
NAN_LOGI("\t - maxNdiInterfaces: %u", mCapabilitiesInfo.maxNdiInterfaces);
NAN_LOGI("\t - maxNdpSessions: %u", mCapabilitiesInfo.maxNdpSessions);
}
mCommandQueue.clear();
deleteCurrentCommand();
setCurrentState(READY_STATE);
- deleteAllNanInterfaces();
+ //deleteAllNanInterfaces();
setEnabled(false);
NanDbusHandler::disabledEvent(event.error);