hostap_cs: fix misspelling of current function in string
[pandora-kernel.git] / drivers / net / wireless / hostap / hostap_cs.c
index 9f825f2..50033aa 100644 (file)
@@ -381,18 +381,15 @@ static void prism2_pccard_genesis_reset(local_info_t *local, int hcr)
 
        res = pcmcia_read_config_byte(hw_priv->link, CISREG_COR, &old_cor);
        if (res != 0) {
-               printk(KERN_DEBUG "prism2_pccard_genesis_sreset failed 1 "
-                      "(%d)\n", res);
+               printk(KERN_DEBUG "%s failed 1 (%d)\n", __func__, res);
                return;
        }
-       printk(KERN_DEBUG "prism2_pccard_genesis_sreset: original COR %02x\n",
-               old_cor);
+       printk(KERN_DEBUG "%s: original COR %02x\n", __func__, old_cor);
 
        res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR,
                                old_cor | COR_SOFT_RESET);
        if (res != 0) {
-               printk(KERN_DEBUG "prism2_pccard_genesis_sreset failed 2 "
-                      "(%d)\n", res);
+               printk(KERN_DEBUG "%s failed 2 (%d)\n", __func__, res);
                return;
        }
 
@@ -401,8 +398,7 @@ static void prism2_pccard_genesis_reset(local_info_t *local, int hcr)
        /* Setup Genesis mode */
        res = pcmcia_write_config_byte(hw_priv->link, CISREG_CCSR, hcr);
        if (res != 0) {
-               printk(KERN_DEBUG "prism2_pccard_genesis_sreset failed 3 "
-                      "(%d)\n", res);
+               printk(KERN_DEBUG "%s failed 3 (%d)\n", __func__, res);
                return;
        }
        mdelay(10);
@@ -410,8 +406,7 @@ static void prism2_pccard_genesis_reset(local_info_t *local, int hcr)
        res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR,
                                old_cor & ~COR_SOFT_RESET);
        if (res != 0) {
-               printk(KERN_DEBUG "prism2_pccard_genesis_sreset failed 4 "
-                      "(%d)\n", res);
+               printk(KERN_DEBUG "%s failed 4 (%d)\n", __func__, res);
                return;
        }
 
@@ -677,6 +672,8 @@ static const struct pcmcia_device_id hostap_cs_ids[] = {
        PCMCIA_DEVICE_PROD_ID12(
                "ZoomAir 11Mbps High", "Rate wireless Networking",
                0x273fe3db, 0x32a1eaee),
+       PCMCIA_DEVICE_PROD_ID12("NETGEAR MA401 Wireless PC", "Card",
+               0xa37434e9, 0x9762e8f1),
        PCMCIA_DEVICE_PROD_ID123(
                "Pretec", "CompactWLAN Card 802.11b", "2.5",
                0x1cadd3e5, 0xe697636c, 0x7a5bfcf1),