diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_rx.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_rx.c b/drivers/net/wireless/wl12xx/wl1271_rx.c index 35448e7c0dd5..cacfee56a0d0 100644 --- a/drivers/net/wireless/wl12xx/wl1271_rx.c +++ b/drivers/net/wireless/wl12xx/wl1271_rx.c | |||
@@ -184,10 +184,14 @@ void wl1271_rx(struct wl1271 *wl, struct wl1271_fw_status *status) | |||
184 | while (pkt_offset < buf_size) { | 184 | while (pkt_offset < buf_size) { |
185 | pkt_length = wl1271_rx_get_buf_size(status, | 185 | pkt_length = wl1271_rx_get_buf_size(status, |
186 | drv_rx_counter); | 186 | drv_rx_counter); |
187 | if (wl1271_rx_handle_data(wl, | 187 | /* |
188 | wl->aggr_buf + pkt_offset, | 188 | * the handle data call can only fail in memory-outage |
189 | pkt_length) < 0) | 189 | * conditions, in that case the received frame will just |
190 | break; | 190 | * be dropped. |
191 | */ | ||
192 | wl1271_rx_handle_data(wl, | ||
193 | wl->aggr_buf + pkt_offset, | ||
194 | pkt_length); | ||
191 | wl->rx_counter++; | 195 | wl->rx_counter++; |
192 | drv_rx_counter++; | 196 | drv_rx_counter++; |
193 | drv_rx_counter &= NUM_RX_PKT_DESC_MOD_MASK; | 197 | drv_rx_counter &= NUM_RX_PKT_DESC_MOD_MASK; |