From 43e530a976d90cc0503b413afc907fa6fb0cb9ac Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 20 Aug 2007 09:57:45 +0000 Subject: pre-set Managed mode for access points detected as Master (#30303) --- lib/network/monitor.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/network/monitor.pm') diff --git a/lib/network/monitor.pm b/lib/network/monitor.pm index 7cd1277..a1db598 100644 --- a/lib/network/monitor.pm +++ b/lib/network/monitor.pm @@ -75,6 +75,7 @@ sub list_wireless { /Address: (.*)/ and $net->{ap} = lc($1); /ESSID:"(.*?)"/ and $net->{essid} = $1; /Mode:(\S*)/ and $net->{mode} = $1; + $net->{mode} = 'Managed' if $net->{mode} eq 'Master'; $_ =~ $quality_match and $net->{signal_strength} = $eval_quality->($1); m|Signal level:([0-9]+/[0-9]+)| && !$net->{signal_strength} and $net->{signal_strength} = eval($1)*100; /Extra:wpa_ie=|IE:.*WPA/ and $net->{flags} = '[WPA]'; -- cgit v1.2.1