commit | a8cbb46f831d2c101feccdd0e0daf3627b8c1dca | [log] [tgz] |
---|---|---|
author | Golan Ben Ami <golan.ben.ami@intel.com> | Sun Oct 22 15:58:26 2017 +0300 |
committer | Luca Coelho <luciano.coelho@intel.com> | Thu Apr 26 15:18:07 2018 +0300 |
tree | 2f3d7499530ad0e45e31f2a4abbf74225e40fa9e | |
parent | 0ddcf3e76ae4d02918e609342a1020b50258fadd [diff] |
iwlwifi: allow different csr flags for different device families Different device families may have different flag values for passing a message to the fw (i.e. SW_RESET). In order to keep the code readable, and avoid conditioning upon the family, store a value for each flag, which indicates the bit that needs to be enabled. Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>