|
@@ -244,9 +244,11 @@ setup_for_next:
|
|
if (card->rx_cmd_ep == context->ep) {
|
|
if (card->rx_cmd_ep == context->ep) {
|
|
mwifiex_usb_submit_rx_urb(context, size);
|
|
mwifiex_usb_submit_rx_urb(context, size);
|
|
} else {
|
|
} else {
|
|
- context->skb = NULL;
|
|
|
|
- if (atomic_read(&adapter->rx_pending) <= HIGH_RX_PENDING)
|
|
|
|
|
|
+ if (atomic_read(&adapter->rx_pending) <= HIGH_RX_PENDING){
|
|
mwifiex_usb_submit_rx_urb(context, size);
|
|
mwifiex_usb_submit_rx_urb(context, size);
|
|
|
|
+ }else{
|
|
|
|
+ context->skb = NULL;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
return;
|
|
return;
|