aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/airlink.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-03-31 09:09:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-03-31 09:09:02 +0000
commitce510473d5d96902a2c8d7630ec81815e3cd5607 (patch)
tree20983e82dad44cf9df175d1b003a7dc128e16e17 /tools/firmware-utils/src/airlink.c
parent806cd71e0a903222658db819b8acea2aebd588a1 (diff)
downloadupstream-ce510473d5d96902a2c8d7630ec81815e3cd5607.tar.gz
upstream-ce510473d5d96902a2c8d7630ec81815e3cd5607.tar.bz2
upstream-ce510473d5d96902a2c8d7630ec81815e3cd5607.zip
Fix a typo
SVN-Revision: 6771
Diffstat (limited to 'tools/firmware-utils/src/airlink.c')
-rw-r--r--tools/firmware-utils/src/airlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/airlink.c b/tools/firmware-utils/src/airlink.c
index a98aba7668..aae68ebede 100644
--- a/tools/firmware-utils/src/airlink.c
+++ b/tools/firmware-utils/src/airlink.c
@@ -288,7 +288,7 @@ int main(int argc, char **argv)
*((u32 *) & buf[0x4]) = 0x0L;
memcpy(b, buf, 0x100);
memcpy(b + 0x100, buf + ((l0 >> 1) - ((l0 & 0x6) >> 1)), 0x100);
- memcpy(b + 0x200, buf + (I0 - 0x200), 0x200);
+ memcpy(b + 0x200, buf + (l0 - 0x200), 0x200);
*((u32 *) & b[0x18]) = 0x0L;
sum = crc32(b, 0x400);