Skip to content

Commit 92f53e2

Browse files
shifteeKalle Valo
authored andcommitted
ath9k: Fix regression with Atheros 9271
This fix allows ath9k_htc modules to connect to WLAN once again. Fixes: 2bbcaae ("ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb") Link: https://bugzilla.kernel.org/show_bug.cgi?id=208251 Signed-off-by: Mark O'Donovan <[email protected]> Reported-by: Roman Mamedov <[email protected]> Tested-by: Viktor Jägersküpper <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent dc7bd30 commit 92f53e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/net/wireless/ath/ath9k/hif_usb.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,11 +733,13 @@ static void ath9k_hif_usb_reg_in_cb(struct urb *urb)
733733
return;
734734
}
735735

736+
rx_buf->skb = nskb;
737+
736738
usb_fill_int_urb(urb, hif_dev->udev,
737739
usb_rcvintpipe(hif_dev->udev,
738740
USB_REG_IN_PIPE),
739741
nskb->data, MAX_REG_IN_BUF_SIZE,
740-
ath9k_hif_usb_reg_in_cb, nskb, 1);
742+
ath9k_hif_usb_reg_in_cb, rx_buf, 1);
741743
}
742744

743745
resubmit:

0 commit comments

Comments
 (0)