retitle 358656 hostap_cs module device list excludes D-Link DWL-650
tags 358656 patch
thanks

When I upgraded to 2.6.16, the hostap module stopped loading on card insert
of a D-Link DWL-650.  By applying the below patch to 2.6.16 hostap_cs, which
restores one of the card IDs from 2.6.15, I've got wireless working again:

--- linux-source-2.6.16/drivers/net/wireless/hostap/hostap_cs.c.dpkg-dist       
2006-03-19 21:53:29.000000000 -0800
+++ linux-source-2.6.16/drivers/net/wireless/hostap/hostap_cs.c 2006-03-29 
23:29:19.000000000 -0800
@@ -891,8 +891,12 @@
        PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0005),
        PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0010),
+#if 0
        PCMCIA_DEVICE_MANF_CARD_PROD_ID1(0x0156, 0x0002, "INTERSIL",
                                         0x74c5e40d),
        PCMCIA_DEVICE_MANF_CARD_PROD_ID1(0x0156, 0x0002, "Intersil",
                                         0x4b801a17),
+#else
+       PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0002),
+#endif
        PCMCIA_MFC_DEVICE_PROD_ID12(0, "SanDisk", "ConnectPlus",
                                    0x7a954bd9, 0x74be00c6),


Output of lspcmcia:

Socket 0 Device 0:      [hostap_cs]             (bus ID: 0.0)
        Configuration:  state: on
        Product Name:   Link DWL-650 11Mbps WLAN Card Version 01.02 
        Identification: manf_id: 0x0156 card_id: 0x0002
                        function: 6 (network)
                        prod_id(1): --- (---)
                        prod_id(2): "Link DWL-650 11Mbps WLAN Card" (0xb6f1b0ab)
                        prod_id(3): "Version 01.02" (0x4b74baa0)
                        prod_id(4): --- (---)

(Yes, the apprent typo omitting the "D-" is really there.)
-- 
Chip Salzenberg <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to