diff options
author | Sara Sharon <sara.sharon@intel.com> | 2017-12-27 12:16:33 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2018-03-28 22:43:40 +0300 |
commit | 9b137866f9a2699698cfffb0b7729331a419d617 (patch) | |
tree | 235ad00028f48f18fc688a75d021d22457b5b23f /drivers/macintosh | |
parent | 8f27036a0e380c6ede67a8d2a132327fcb760ace (diff) |
iwlwifi: mvm: save low latency causes in an enum
Currently we have a boolean variable for each cause.
This costs space, and requires to check each separately
when determining low latency.
Since we have another cause incoming, convert it to an enum.
While at it, move the retrieval of the prev value and the
assignment of the new value to be inside iwl_mvm_update_low_latency
and save the need for each caller to do it separately.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions