|
|
@@ -3119,7 +3119,9 @@ static void hfa384x_usbin_callback(struct urb *urb)
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
+ /* Save values from the RX URB before reposting overwrites it. */
|
|
|
urb_status = urb->status;
|
|
|
+ usbin = (union hfa384x_usbin *)urb->transfer_buffer;
|
|
|
|
|
|
if (action != ABORT) {
|
|
|
/* Repost the RX URB */
|
|
|
@@ -3136,7 +3138,6 @@ static void hfa384x_usbin_callback(struct urb *urb)
|
|
|
/* Note: the check of the sw_support field, the type field doesn't
|
|
|
* have bit 12 set like the docs suggest.
|
|
|
*/
|
|
|
- usbin = (union hfa384x_usbin *)urb->transfer_buffer;
|
|
|
type = le16_to_cpu(usbin->type);
|
|
|
if (HFA384x_USB_ISRXFRM(type)) {
|
|
|
if (action == HANDLE) {
|