projects
/
open-ath9k-htc-firmware.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #163 from cloudswei/ctlframe_injection
[open-ath9k-htc-firmware.git]
/
athfw2lnx
/
athfw2lnx.c
1
#include <sys/stat.h>
2
#include <fcntl.h>
3
#include <stdint.h>
4
5
/* These names may vary but this is typical */
6
extern const uint32_t zcFwImage[];
7
extern const uint32_t zcFwImageSize;
8
9
int main()
10
{
11
uint32_t i;
12
for (i = 0; i < zcFwImageSize/4; i++)
13
write(1, &zcFwImage[i], 4);
14
}