Fix displaying wireless network authentication.

The wrong value was passed to WirelessNetworkMenuItem.
This commit is contained in:
Stefano Ceccherini
2013-11-18 15:25:16 +01:00
parent 1f177e3aec
commit fc51be0a4e
@@ -386,7 +386,7 @@ EthernetSettingsView::_ShowConfiguration(Settings* settings)
BMenuItem* item = new WirelessNetworkMenuItem(network.name,
network.signal_strength,
(network.flags & B_NETWORK_IS_ENCRYPTED) != 0, message);
network.authentication_mode, message);
if (associated.find(network.address) != associated.end())
item->SetMarked(true);
menu->AddItem(item);