diff options
| author | Joshua Clayton <[email protected]> | 2015-08-05 17:17:14 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-08-07 15:12:40 -0700 |
| commit | 5dab10f444774dd119e3c370cd332df9c1c646c7 (patch) | |
| tree | 9027a334f46ddeb76bda58d69d41e383d51cc9ea /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 8a1d7b09e7e3c2c7097712331ac64ccfdbcf8f6d (diff) | |
staging: rtl8712: fix buggy size calculation
r8712_get_ndis_wlan_bssid_ex_sz has a "6 * sizeof(unsigned long)"
where the underlying struct has a 6 * unsigned char.
Simplify the calculation by just subtracting the variable part from
the size of the struct.
This also gets rid of a use of typedef NDIS_802_11_RATES_EX
Signed-off-by: Joshua Clayton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions