NetworkInterfaces don't identify themselves properly while disabled
|Reported by:||kallisti5||Owned by:||axeld|
|Component:||Network & Internet/Stack||Version:||R1/Development|
|Keywords:||IsWireless IsEthernet BNetworkDevice||Cc:|
|Has a Patch:||no||Platform:||All|
While an interface is disabled, both IsEthernet and IsWireless return false making identification of network devices difficult while they are disabled.
IsWireless checks for a media type of "IFM_IEEE80211" IsEthernet checks for a media type of "IFM_ETHER"
As far as I can tell, these are both set properly at the freebsd glue layer. My guess is that this failure might be comming from the "do_request(request, Name(), SIOCGIFMEDIA) != B_OK" check in BNetworkDevice::Media.
Maybe we should be identifying these devices using some other metric?