NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/52931: Kernel panics with Atheros usb wireless interface.
The following reply was made to PR kern/52931; it has been noted by GNATS.
From: Nick Hudson <skrll%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/52931: Kernel panics with Atheros usb wireless interface.
Date: Thu, 18 Jan 2018 21:11:13 +0000
This is a multi-part message in MIME format.
--------------122FD98B69A267CE447D4860
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
On 01/17/18 17:25, trebol4444%gmx.com@localhost wrote:
>> Number: 52931
>> Category: kern
>> Synopsis: Kernel panics with Atheros usb wireless interface.
Please try this path
Thanks,
Nick
--------------122FD98B69A267CE447D4860
Content-Type: text/x-patch;
name="athn.short.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="athn.short.diff"
Index: sys/dev/usb/if_athn_usb.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/if_athn_usb.c,v
retrieving revision 1.24
diff -u -p -r1.24 if_athn_usb.c
--- sys/dev/usb/if_athn_usb.c 18 Oct 2017 16:01:58 -0000 1.24
+++ sys/dev/usb/if_athn_usb.c 17 Jan 2018 21:22:57 -0000
@@ -671,7 +671,7 @@ athn_usb_alloc_rx_list(struct athn_usb_s
data->sc = usc; /* Backpointer for callbacks. */
error = usbd_create_xfer(usc->usc_rx_data_pipe,
- ATHN_USB_RXBUFSZ, USBD_SHORT_XFER_OK, 0, &data->xfer);
+ ATHN_USB_RXBUFSZ, 0, 0, &data->xfer);
if (error) {
aprint_error_dev(usc->usc_dev,
"could not allocate xfer\n");
@@ -718,7 +718,7 @@ athn_usb_alloc_tx_list(struct athn_usb_s
data->sc = usc; /* Backpointer for callbacks. */
error = usbd_create_xfer(usc->usc_tx_data_pipe,
- ATHN_USB_TXBUFSZ, USBD_SHORT_XFER_OK, 0, &data->xfer);
+ ATHN_USB_TXBUFSZ, USBD_FORCE_SHORT_XFER, 0, &data->xfer);
if (error) {
aprint_error_dev(usc->usc_dev,
"could not create xfer on TX pipe\n");
--------------122FD98B69A267CE447D4860--
Home |
Main Index |
Thread Index |
Old Index