commit | 65b30348dbf9b529901b5c2b62dca6cad9017a2a | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Jan 08 13:16:33 2014 +0100 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Mon Jan 13 22:17:20 2014 +0200 |
tree | e5a8c4704d58a8ff74150e099e57a46f10860c09 | |
parent | e36b766d0c674c9dc73a2ace7aa37aea78afa233 [diff] |
iwlwifi: add inline helper for packet lengths Add an inline helper function for getting an RX packet's length or payload length and use it throughout the code (most of which I did using an spatch.) While at it, adjust some code, and remove a bogus comment from the dvm calibration code. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Reviewed-by: Eran Harary <eran.harary@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>