mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
fix -L (scan ap's): use WI_RID_SCAN_APS instead of WI_RDI_SCAN_REQ to start
a scan so the driver can use the best/right op for the card
This commit is contained in:
parent
fa15ece030
commit
86209e4f24
1 changed files with 2 additions and 7 deletions
|
|
@ -514,13 +514,8 @@ wi_printaplist(const char *iface)
|
|||
prism2 = wreq.wi_val[0];
|
||||
|
||||
/* send out a scan request */
|
||||
wreq.wi_len = prism2 ? 3 : 1;
|
||||
wreq.wi_type = WI_RID_SCAN_REQ;
|
||||
|
||||
if (prism2) {
|
||||
wreq.wi_val[0] = 0x3FFF;
|
||||
wreq.wi_val[1] = 0x000F;
|
||||
}
|
||||
wreq.wi_len = 1;
|
||||
wreq.wi_type = WI_RID_SCAN_APS;
|
||||
|
||||
wi_setval(iface, &wreq);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue