Hide the wifi association link when the STA becomes disassociated
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Wed Oct 01 15:53:07 2008 +0100 (16 months ago)
changeset 3819d397f7c0e282
parent 3818 c0fe00943d4c
child 3820 7998b2419deb
Hide the wifi association link when the STA becomes disassociated
src/contrib/visualizer/plugins/wifi_intrastructure_link.py
     1.1 --- a/src/contrib/visualizer/plugins/wifi_intrastructure_link.py	Wed Oct 01 15:52:33 2008 +0100
     1.2 +++ b/src/contrib/visualizer/plugins/wifi_intrastructure_link.py	Wed Oct 01 15:53:07 2008 +0100
     1.3 @@ -91,6 +91,7 @@
     1.4          for (sta_netdevice, viz_node, wifi_link) in self.stations:
     1.5              bssid = str(sta_netdevice.GetMac().GetBssid())
     1.6              if bssid == '00:00:00:00:00:00':
     1.7 +                wifi_link.set_ap(None)
     1.8                  continue
     1.9              ap = self.access_points[bssid]
    1.10              wifi_link.set_ap(ap)