diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-03-31 11:59:17 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-09 14:28:16 -0400 |
commit | 05d5752027d02ca9204d1ece5074d41000fee23d (patch) | |
tree | 24efb80f55111f6588a13e5a0df300db7d176d56 /net/lapb | |
parent | 76c3c698bf47927fb31044fa2f4321c99ed7411d (diff) |
iwlwifi: clean up last_phy_res
The last_phy_res[100] variable is used in an odd
way. The first byte of it is used as a flag, and
the rest as the data. Thus, the array need only
be 61 bytes, since it is just the flag and a
struct iwl_rx_phy_res (which is 60 bytes).
Clean this up by splitting the variable into two:
last_phy_res and last_phy_res_valid, using correct
types for both (struct and bool). While doing all
this also move the variables to the _agn part of
the hw-specific union since they only apply to
A-MPDUs.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions