wifi: make wifihdrlen() public

Required for upcoming RT2860 driver
This commit is contained in:
Alexander Polakov 2013-07-09 16:12:04 +04:00
parent 33c3a22cb0
commit 22cc50307b
2 changed files with 2 additions and 1 deletions

View file

@ -58,7 +58,7 @@ dstaddr(Wifipkt *w)
return w->a1;
}
static int
int
wifihdrlen(Wifipkt *w)
{
int n;

View file

@ -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);