etheriwl: add rxon() debug print
This commit is contained in:
parent
745be8ad8e
commit
196b39126c
1 changed files with 3 additions and 2 deletions
|
@ -1745,8 +1745,9 @@ rxon(Ether *edev, Wnode *bss)
|
|||
}
|
||||
flags = RFlagTSF | RFlagCTSToSelf | RFlag24Ghz | RFlagAuto;
|
||||
|
||||
if(0) print("rxon: bssid %E, aid %x, channel %d, filter %x, flags %x\n",
|
||||
ctlr->bssid, ctlr->aid, ctlr->channel, filter, flags);
|
||||
if(ctlr->wifi->debug)
|
||||
print("#l%d: rxon: bssid %E, aid %x, channel %d, filter %x, flags %x\n",
|
||||
edev->ctlrno, ctlr->bssid, ctlr->aid, ctlr->channel, filter, flags);
|
||||
|
||||
memset(p = c, 0, sizeof(c));
|
||||
memmove(p, edev->ea, 6); p += 8; /* myaddr */
|
||||
|
|
Loading…
Reference in a new issue