fix wrong numbering of interfaces in wireless detection