Updated to not touch orinoco_cs driver.

-----------------------------------------------------------------------

I use D-Link DCF-660W card with WPA protected network. By default
orinoco_cs was loaded for my card so I was not able to connect. This patch
make my card working with hostap_cs (like it was when I used pcmcia-cs).
Card was used with hostap_cs during last year in two Zaurus models (2.4.18
on one and 2.6.11 - 2.6.16 on another).

I do not know does removing card from orinoco_cs is correct way.

Platform: Sharp Zaurus C760 running 2.6.16 and pcmciautils 013.

[EMAIL PROTECTED]:~# pccardctl ident
Socket 0:
  product info: "D-Link", "DCF-660W", "", ""
  manfid: 0xd601, 0x0005
  function: 6 (network)

[EMAIL PROTECTED]:~# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"test"
          Mode:Master  Frequency:2.422 GHz  Access Point: 00:80:C8:2C:09:3F
          Bit Rate:11 Mb/s   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Signed-off-by: Marcin Juszkiewicz <[EMAIL PROTECTED]>

Index: linux/drivers/net/wireless/hostap/hostap_cs.c
===================================================================
--- linux.orig/drivers/net/wireless/hostap/hostap_cs.c  2006-05-12 
15:36:08.000000000 +0200
+++ linux/drivers/net/wireless/hostap/hostap_cs.c       2006-05-12 
15:43:36.000000000 +0200
@@ -974,6 +974,8 @@
                0x273fe3db, 0x32a1eaee),
        PCMCIA_DEVICE_PROD_ID12("Linksys", "Wireless CompactFlash Card",
                                0x0733cc81, 0x0c52f395),
+       PCMCIA_DEVICE_PROD_ID12("D-Link", "DCF-660W",
+                               0x1a424a1c, 0xe78b6dcc),
        PCMCIA_DEVICE_NULL
 };
 MODULE_DEVICE_TABLE(pcmcia, hostap_cs_ids);

-- 
JID: hrw-jabber.org
Palmtop: Sharp Zaurus C760
OpenEmbedded/OpenZaurus developer

  Woda, której dotykasz w rzekach, jest ostatkiem tej, która przeszła
  i początkiem tej, która przyjdzie: tak samo teraźniejszość.
                -- Leonardo da Vinci
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to