aboutsummaryrefslogtreecommitdiff
path: root/drivers/uwb/i1480/dfu/i1480-dfu.h
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@indt.org.br>2008-09-17 16:34:38 +0100
committerDavid Vrabel <dv02@dv02pc01.europe.root.pri>2008-09-17 16:54:34 +0100
commitb5784f10d559b3c7b25874b21702ad0907b6fcb7 (patch)
treec3e678d182a8c928cbb3660895458ed98e6c9b03 /drivers/uwb/i1480/dfu/i1480-dfu.h
parent8c7e8cb85557cc500122f3e489936582b7d11a7c (diff)
uwb: i1480/GUWA100U: fix firmware download issues
IOGear firmware versions >= 1.4.12224 fail to be downloaded because of a spurious (and harmless) RCEB received after the download notification. This patch handles this RCEB and keeps compatibility with future versions that might not emit this RCEB. i1480_rceb_check() is reused to check for the RCEB. It is also refactored with improved comments and reused in another place in mac.c where the checking was being duplicated. This patch was tested on both i1480 and GUWA100U HWAs, with all firmware versions currently available. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br>
Diffstat (limited to 'drivers/uwb/i1480/dfu/i1480-dfu.h')
-rw-r--r--drivers/uwb/i1480/dfu/i1480-dfu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/i1480/dfu/i1480-dfu.h b/drivers/uwb/i1480/dfu/i1480-dfu.h
index 8035418de13..46f45e800f3 100644
--- a/drivers/uwb/i1480/dfu/i1480-dfu.h
+++ b/drivers/uwb/i1480/dfu/i1480-dfu.h
@@ -145,7 +145,7 @@ extern int i1480_phy_fw_upload(struct i1480 *);
extern ssize_t i1480_cmd(struct i1480 *, const char *, size_t, size_t);
extern int i1480_rceb_check(const struct i1480 *,
const struct uwb_rceb *, const char *, u8,
- unsigned, unsigned);
+ u8, unsigned);
enum {
/* Vendor specific command type */