wl1271: Fix RX path stall
wl1271: Fix RX path stall

The wl1271_rx function loops through packets in an aggregated buffer. Each
packet in the buffer is handled by a call to wl1271_rx_handle_data, which will
fail if skb memory allocation fails or production mode is enabled. These
failures currently prevent the rx counters to be incremented, thus causing the
rx loop to run forever.

Fix this by ignoring error codes reported wl1271_rx_handle_data function.
This essentially means that frames will be dropped in production mode, which
is the intetion, and frames will be dropped if memory allocation fails, which
is a decent way to recover from that situation.

Signed-off-by: Juuso Oikarinen <ca26352903febfd849f64e9b2ceb5c3c9e1e8619@nokia.com>
Tested-by: Tuomas Katila <c52b91f77c15db9da8260dbcb28783bc43d34a63@nokia.com>
Reviewed-by: Luciano Coelho <48024ebf6407f04843f8b4062a045f41623c6d61@nokia.com>
Signed-off-by: Luciano Coelho <48024ebf6407f04843f8b4062a045f41623c6d61@nokia.com>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs