It does not matter if the interface is to be activated or not, we must
read the packet in order that it be discarded.
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 {
        int result = -EAGAIN;
 
-       if ((batman_if->if_active == IF_TO_BE_ACTIVATED)
-               && (batman_if->raw_sock)) {
+       if (batman_if->raw_sock) {
                        result = receive_raw_packet(batman_if->raw_sock,
                                                    packet_buff,
                                                    PACKBUFF_SIZE);