Search Linux Wireless

Re: p54usb and 2.13.24.0 Firmware fail to probe 1st generation (ISL3886 + net2280)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With the below patch, -ETIMEDOUT is returned from usb_interrupt_msg in
addition to alen != sizeof(__le32)

[   53.876103] usb 4-2: new high speed USB device using ehci_hcd and address 2
[   54.008792] usb 4-2: configuration #1 chosen from 1 choice
[   54.131230] usb 4-2: firmware: requesting isl3886usb
[   54.148759] phy1: p54 detected a LM86 firmware
[   54.148765] p54: rx_mtu reduced from 3240 to 2392
[   54.148770] phy1: FW rev 2.13.24.0 - Softmac protocol 5.9
[   54.148775] phy1: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES
[   56.316196] usb 4-2: (p54usb) err=-110, alen=0, size=4
[   56.316311] p54usb: probe of 4-2:1.0 failed with error -110
[   56.316356] usbcore: registered new interface driver p54usb

diff --git a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb
index 9539ddc..3e26085 100644
--- a/drivers/net/wireless/p54/p54usb.c
+++ b/drivers/net/wireless/p54/p54usb.c
@@ -652,6 +652,7 @@ static int p54u_upload_firmware_net2280(struct ieee80211_hw

        err = p54_parse_firmware(dev, fw_entry);
        if (err) {
+               dev_err(&priv->udev->dev, "(p54usb) cannot parse firmware\n");
                kfree(buf);
                release_firmware(fw_entry);
                return err;
@@ -858,8 +859,11 @@ static int p54u_upload_firmware_net2280(struct ieee80211_hw
        err = usb_interrupt_msg(priv->udev,
                                usb_rcvbulkpipe(priv->udev, P54U_PIPE_INT),
                                buf, sizeof(__le32), &alen, 1000);
-       if (err || alen != sizeof(__le32))
+       if (err || alen != sizeof(__le32)) {
+               dev_err(&priv->udev->dev, "(p54usb) err=%d, alen=%d, size=%d\n",
+                       err, alen, sizeof(__le32));
                goto fail;
+       }

        P54U_READ(NET2280_DEV_U32, &devreg->int_ident);
        P54U_WRITE(NET2280_DEV_U32, &devreg->int_ack, reg);
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux