summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-05-14 17:30:10 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-05-15 23:53:26 +0200
commit649e59e6ab7817bf1c556b1898356c1a17aa2650 (patch)
tree9f77b2088abb15e62fd694e3d344b43b14d6c4aa /drivers/net
parent[PATCH] orinoco: disconnect the network device on reset errors (diff)
downloadlinux-649e59e6ab7817bf1c556b1898356c1a17aa2650.tar.xz
linux-649e59e6ab7817bf1c556b1898356c1a17aa2650.zip
[PATCH] orinoco: Symbol 3.0x firmware needs broken_disableport
Patch from Pavel Roskin. Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/orinoco.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c
index 48800b91448b..74ee47fd108f 100644
--- a/drivers/net/wireless/orinoco.c
+++ b/drivers/net/wireless/orinoco.c
@@ -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;