aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/i1480/dfu/i1480-dfu.h
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@indt.org.br>2008-09-17 11:34:38 -0400
committerDavid Vrabel <dv02@dv02pc01.europe.root.pri>2008-09-17 11:54:34 -0400
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 8035418de132..46f45e800f36 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 *);
145extern ssize_t i1480_cmd(struct i1480 *, const char *, size_t, size_t); 145extern ssize_t i1480_cmd(struct i1480 *, const char *, size_t, size_t);
146extern int i1480_rceb_check(const struct i1480 *, 146extern int i1480_rceb_check(const struct i1480 *,
147 const struct uwb_rceb *, const char *, u8, 147 const struct uwb_rceb *, const char *, u8,
148 unsigned, unsigned); 148 u8, unsigned);
149 149
150enum { 150enum {
151 /* Vendor specific command type */ 151 /* Vendor specific command type */