aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2008-11-10 09:25:53 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 11:08:17 -0500
commitdfe1bafdbac1c7b48b636fb7ace799e78170e0d6 (patch)
tree1a96e2362b922f8fc18ec35740c062d7e96d1085 /drivers/net
parent1d047def6d19106a91f7756f970ac8429033a4d8 (diff)
orinoco: fix last beacon reporting on 64-bit systems
orinoco_translate_scan() and orinoco_translate_ext_scan() wrongly truncate last_scanned argument from unsigned long to unsigned int. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/orinoco/orinoco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco.c b/drivers/net/wireless/orinoco/orinoco.c
index 072be44b37d..fd9263980d6 100644
--- a/drivers/net/wireless/orinoco/orinoco.c
+++ b/drivers/net/wireless/orinoco/orinoco.c
@@ -5444,7 +5444,7 @@ static inline char *orinoco_translate_scan(struct net_device *dev,
5444 char *current_ev, 5444 char *current_ev,
5445 char *end_buf, 5445 char *end_buf,
5446 union hermes_scan_info *bss, 5446 union hermes_scan_info *bss,
5447 unsigned int last_scanned) 5447 unsigned long last_scanned)
5448{ 5448{
5449 struct orinoco_private *priv = netdev_priv(dev); 5449 struct orinoco_private *priv = netdev_priv(dev);
5450 u16 capabilities; 5450 u16 capabilities;
@@ -5591,7 +5591,7 @@ static inline char *orinoco_translate_ext_scan(struct net_device *dev,
5591 char *current_ev, 5591 char *current_ev,
5592 char *end_buf, 5592 char *end_buf,
5593 struct agere_ext_scan_info *bss, 5593 struct agere_ext_scan_info *bss,
5594 unsigned int last_scanned) 5594 unsigned long last_scanned)
5595{ 5595{
5596 u16 capabilities; 5596 u16 capabilities;
5597 u16 channel; 5597 u16 channel;