wifi: make wifihdrlen() public
Required for upcoming RT2860 driver
This commit is contained in:
parent
33c3a22cb0
commit
22cc50307b
2 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,7 @@ dstaddr(Wifipkt *w)
|
|||
return w->a1;
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
wifihdrlen(Wifipkt *w)
|
||||
{
|
||||
int n;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue