Comment 2 for bug 628432

Michael Terry (mterry) wrote :

This could happen if either GetCurrentNetwork or GetCurrentBitrate fail to return strings, which will occur if either of them fail to match their regular expression against the current iwconfig output. (as happens in bug 1042290)

It seems like update_state() should safeguard against that possibilty.