diff options
author | Alexander Polakov <plhk@sdf.org> | 2013-07-09 16:12:04 +0400 |
---|---|---|
committer | Alexander Polakov <plhk@sdf.org> | 2013-07-09 16:12:04 +0400 |
commit | 22cc50307ba856e69757ade333e50cdaca83a8c2 (patch) | |
tree | 083c8be4578d8a544775c237d4f1663ce31b2364 /sys/src | |
parent | 33c3a22cb04a7ab7417b1f1b77d68f254dfacc25 (diff) |
wifi: make wifihdrlen() public
Required for upcoming RT2860 driver
Diffstat (limited to 'sys/src')
-rw-r--r-- | sys/src/9/pc/wifi.c | 2 | ||||
-rw-r--r-- | sys/src/9/pc/wifi.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/9/pc/wifi.c b/sys/src/9/pc/wifi.c index 0e6ae0c3a..616113e82 100644 --- a/sys/src/9/pc/wifi.c +++ b/sys/src/9/pc/wifi.c @@ -58,7 +58,7 @@ dstaddr(Wifipkt *w) return w->a1; } -static int +int wifihdrlen(Wifipkt *w) { int n; diff --git a/sys/src/9/pc/wifi.h b/sys/src/9/pc/wifi.h index d338f1f04..65c249605 100644 --- a/sys/src/9/pc/wifi.h +++ b/sys/src/9/pc/wifi.h @@ -78,6 +78,7 @@ struct Wifipkt Wifi *wifiattach(Ether *ether, void (*transmit)(Wifi*, Wnode*, Block*)); void wifiiq(Wifi*, Block*); +int wifihdrlen(Wifipkt*); long wifistat(Wifi*, void*, long, ulong); long wifictl(Wifi*, void*, long); |