projects
/
openwrt
/
staging
/
mans0n.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
806cd71
)
Fix a typo
author
Florian Fainelli
<florian@openwrt.org>
Sat, 31 Mar 2007 09:09:02 +0000
(09:09 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sat, 31 Mar 2007 09:09:02 +0000
(09:09 +0000)
SVN-Revision: 6771
tools/firmware-utils/src/airlink.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/airlink.c
b/tools/firmware-utils/src/airlink.c
index a98aba766838dea0f2c24fe090b180a57320524d..aae68ebede4a2702598ddb0f6fa57af75a1345d2 100644
(file)
--- 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 + (
I
0 - 0x200), 0x200);
+ memcpy(b + 0x200, buf + (
l
0 - 0x200), 0x200);
*((u32 *) & b[0x18]) = 0x0L;
sum = crc32(b, 0x400);