|
|
@ -113,7 +113,7 @@ m_iftype(NL80211_IFTYPE_UNSPECIFIED) |
|
|
|
} |
|
|
|
|
|
|
|
Wireless::~Wireless() { |
|
|
|
std::cerr << "del wireless" << std::endl; |
|
|
|
//std::cerr << "del wireless" << std::endl;
|
|
|
|
|
|
|
|
m_bands.clear(); |
|
|
|
} |
|
|
@ -148,7 +148,7 @@ bool Wireless::parseBands() { |
|
|
|
if(!(Utils::interfaceIndex(interfaceStr))) { |
|
|
|
fprintf(stderr, "Interface %s doesn't exist\n", interfaceStr); |
|
|
|
}else{ |
|
|
|
fprintf(stderr, "could not find a parent phy device for interface %s, it isn't nl80211?\n", interfaceStr); |
|
|
|
//fprintf(stderr, "could not find a parent phy device for interface %s, it isn't nl80211?\n", interfaceStr);
|
|
|
|
} |
|
|
|
|
|
|
|
nlmsg_free(msg); |
|
|
|