--- usr/local/share/wicd/curses/netentry_curses.py.orig 2014-12-21 19:40:46.000000000 +0000 +++ usr/local/share/wicd/curses/netentry_curses.py 2017-02-28 17:17:10.579988965 +0000 @@ -538,11 +538,12 @@ self.bitrates = wireless.GetAvailableBitrates() self.bitrates.append('auto') self.bitrate_combo.set_list(self.bitrates) - self.bitrate_combo.set_focus( - self.bitrates.index( - wireless.GetWirelessProperty(networkID, 'bitrate') + if wireless.GetWirelessProperty(networkID, 'bitrate'): + self.bitrate_combo.set_focus( + self.bitrates.index( + wireless.GetWirelessProperty(networkID, 'bitrate') + ) ) - ) self.allow_lower_bitrates_chkbox.set_state( to_bool(self.format_entry(networkID, 'allow_lower_bitrates')) )