[PATCH] orinoco: Symbol 3.0x firmware needs broken_disableport
authorChristoph Hellwig <hch@lst.de>
Sat, 14 May 2005 15:30:10 +0000 (17:30 +0200)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 15 May 2005 21:53:26 +0000 (17:53 -0400)
Patch from Pavel Roskin.

Index: linux-2.6/drivers/net/wireless/orinoco.c
===================================================================

drivers/net/wireless/orinoco.c

index 48800b91448b275550c3287da6cae1a3ac28fdd7..74ee47fd108f387cf61784e0083a2fe8fcd189c2 100644 (file)
@@ -2222,6 +2222,8 @@ static int determine_firmware(struct net_device *dev)
                               firmver >= 0x31000;
                priv->has_preamble = (firmver >= 0x20000);
                priv->ibss_port = 4;
+               priv->broken_disableport = (firmver == 0x25013) ||
+                                          (firmver >= 0x30000 && firmver <= 0x31000);
                /* Tested with Intel firmware : 0x20015 => Jean II */
                /* Tested with 3Com firmware : 0x15012 & 0x22001 => Jean II */
                break;