Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277612
b: refs/heads/master
c: 0527781
h: refs/heads/master
v: v3
  • Loading branch information
Roland Vossen authored and John W. Linville committed Nov 8, 2011
1 parent f7f6b50 commit c528e12
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 6f09be0ad534160a1931f0c0f92e18a48bd888f9
refs/heads/master: 0527781eb00550226d638b9be23d246c7ba796f6
9 changes: 2 additions & 7 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/dhd.h
Original file line number Diff line number Diff line change
Expand Up @@ -466,14 +466,13 @@ struct brcmf_scan_results {
u32 buflen;
u32 version;
u32 count;
struct brcmf_bss_info_le bss_info_le[1];
struct brcmf_bss_info_le bss_info_le[];
};

struct brcmf_scan_results_le {
__le32 buflen;
__le32 version;
__le32 count;
struct brcmf_bss_info_le bss_info_le[1];
};

/* used for association with a specific BSSID and chanspec list */
Expand All @@ -493,10 +492,6 @@ struct brcmf_join_params {
struct brcmf_assoc_params_le params_le;
};

/* size of brcmf_scan_results not including variable length array */
#define BRCMF_SCAN_RESULTS_FIXED_SIZE \
(sizeof(struct brcmf_scan_results) - sizeof(struct brcmf_bss_info_le))

/* incremental scan results struct */
struct brcmf_iscan_results {
union {
Expand All @@ -511,7 +506,7 @@ struct brcmf_iscan_results {

/* size of brcmf_iscan_results not including variable length array */
#define BRCMF_ISCAN_RESULTS_FIXED_SIZE \
(BRCMF_SCAN_RESULTS_FIXED_SIZE + \
(sizeof(struct brcmf_scan_results) + \
offsetof(struct brcmf_iscan_results, results))

struct brcmf_wsec_key {
Expand Down

0 comments on commit c528e12

Please sign in to comment.