From: Pavel Roskin Date: Fri, 7 Apr 2006 08:10:26 +0000 (-0400) Subject: [PATCH] orinoco: fix truncating commsquality RID with the latest Symbol firmware X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a208c4e1ea7a769042be071ae30ba2ad4c844954;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c index 8dfdfbd5966c..06523e2a8471 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,