fix madwifi mode selection problems