summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-04-13 12:14:43 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-04-22 19:02:19 +0200
commite46f6538c24f01bb68dc374358ce85a0af666682 (patch)
tree6d579e24d715096e9553557abcb1f90ffc7d8365 /include
parentmac80211: explain padding in place of rate field (diff)
downloadlinux-e46f6538c24f01bb68dc374358ce85a0af666682.tar.xz
linux-e46f6538c24f01bb68dc374358ce85a0af666682.zip
iwlagn: simplify error table reading
The current code to read the error table header just hardcodes all the offsets, which is a bit hard to understand. We can read in the entire header (as much as we need) into a structure, and then take the data from there, which makes it easier to understand. To read a bigger blob we also don't need to grab NIC access for each word read, making the code more efficient. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions