Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338261
b: refs/heads/master
c: 0fdb56d
h: refs/heads/master
i:
  338259: ced5818
v: v3
  • Loading branch information
Malcolm Priestley authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent a74f9ca commit a64b661
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dfc935acc97965729d1ef2b7e52925d3f20ca09b
refs/heads/master: 0fdb56dabddd3706ab343aa1278019bd5c8aef21
14 changes: 6 additions & 8 deletions trunk/drivers/staging/vt6656/wcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ void vRunCommand(void *hDeviceContext)
BYTE byMask[8] = {1, 2, 4, 8, 0x10, 0x20, 0x40, 0x80};
struct sk_buff *skb;
BYTE byData;
union iwreq_data wrqu;


if (pDevice->dwDiagRefCount != 0)
Expand Down Expand Up @@ -503,14 +504,11 @@ void vRunCommand(void *hDeviceContext)
pMgmt->eScanState = WMAC_NO_SCANNING;
pDevice->bStopDataPkt = FALSE;

if(pMgmt->eScanType == WMAC_SCAN_PASSIVE)
{
//send scan event to wpa_Supplicant
union iwreq_data wrqu;
PRINT_K("wireless_send_event--->SIOCGIWSCAN(scan done)\n");
memset(&wrqu, 0, sizeof(wrqu));
wireless_send_event(pDevice->dev, SIOCGIWSCAN, &wrqu, NULL);
}
/*send scan event to wpa_Supplicant*/
PRINT_K("wireless_send_event--->SIOCGIWSCAN(scan done)\n");
memset(&wrqu, 0, sizeof(wrqu));
wireless_send_event(pDevice->dev, SIOCGIWSCAN, &wrqu, NULL);

s_bCommandComplete(pDevice);
break;

Expand Down

0 comments on commit a64b661

Please sign in to comment.