summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2006-04-07 04:10:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2006-04-19 17:25:38 -0400
commita208c4e1ea7a769042be071ae30ba2ad4c844954 (patch)
tree976f07cb42b8a1196a5f0aea8f72b4bec1066900 /drivers
parent9b0b4d8ae82cadd059d01ab93babcaa5e2054b93 (diff)
downloadop-kernel-dev-a208c4e1ea7a769042be071ae30ba2ad4c844954.zip
op-kernel-dev-a208c4e1ea7a769042be071ae30ba2ad4c844954.tar.gz
[PATCH] orinoco: fix truncating commsquality RID with the latest Symbol firmware
Symbol firmware F3.91-71 has an additional word in the commsquality RID. Extend the receiving buffer by one word to accomodate it. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/orinoco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c
index 8dfdfbd..06523e2 100644
--- a/drivers/net/wireless/orinoco.c
+++ b/drivers/net/wireless/orinoco.c
@@ -390,7 +390,7 @@ static struct iw_statistics *orinoco_get_wireless_stats(struct net_device *dev)
}
} else {
struct {
- __le16 qual, signal, noise;
+ __le16 qual, signal, noise, unused;
} __attribute__ ((packed)) cq;
err = HERMES_READ_RECORD(hw, USER_BAP,
OpenPOWER on IntegriCloud