Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268819
b: refs/heads/master
c: 68da105
h: refs/heads/master
i:
  268817: 76ebe73
  268815: c190d91
v: v3
  • Loading branch information
David Kilroy authored and Greg Kroah-Hartman committed Oct 17, 2011
1 parent 6c5b7c1 commit 3d98926
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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: 25b20463f30e98c7e939b706ba7696fcfb68d1fd
refs/heads/master: 68da105637af306f5113441812c13209e4f939c4
12 changes: 5 additions & 7 deletions trunk/drivers/staging/wlags49_h2/wl_wext.c
Original file line number Diff line number Diff line change
Expand Up @@ -2759,21 +2759,19 @@ static int wireless_get_scan(struct net_device *dev, struct iw_request_info *inf
buf = iwe_stream_add_point(info, buf, buf_end, &iwe, msg);


/* Custom info (WPA-IE) */
/* WPA-IE */
wpa_ie = NULL;
wpa_ie_len = 0;

wpa_ie = wl_parse_wpa_ie( probe_resp, &wpa_ie_len );
if( wpa_ie != NULL ) {
memset( &iwe, 0, sizeof( iwe ));
memset( msg, 0, sizeof( msg ));
memset(&iwe, 0, sizeof(iwe));

iwe.cmd = IWEVCUSTOM;
sprintf( msg, "wpa_ie=%s", wl_print_wpa_ie( wpa_ie, wpa_ie_len ));
iwe.u.data.length = strlen( msg );
iwe.cmd = IWEVGENIE;
iwe.u.data.length = wpa_ie_len;

buf = iwe_stream_add_point(info, buf, buf_end,
&iwe, msg);
&iwe, wpa_ie);
}

/* Add other custom info in formatted string format as needed... */
Expand Down

0 comments on commit 3d98926

Please sign in to comment.