[patch] hostap driver in 2.6.16 kernel doesn't want to handle D-Link DWL-650 any more

Chip Salzenberg chip
Thu Mar 30 08:53:58 PST 2006


The hostap driver in the 2.6.15 kernel worked fine with my D-Link DWL-650
card.  However, when I upgraded to 2.6.16, the hostap_cs module did not load
any more when the card was inserted.  Apparently the hostap_cs module now
has a more restrictive device list -- too restrictive.  The list now
excludes my DWL-650, which is:

  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): --- (---)

This (obvious but perhaps overzelous) patch works for me:

--- hostap_cs.c.dpkg-dist	2006-03-19 21:53:29.000000000 -0800
+++ 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),

-- 
Chip Salzenberg <chip at pobox.com>




More information about the Hostap mailing list