Fix promiscuous mode

Original patch by

 Luciano Montanaro <luciano.montanaro@magnetimarelli.com>