OSDN Git Service

iwlwifi: make bitfield a u32 instead of u16
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 22 Feb 2018 12:50:06 +0000 (14:50 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Apr 2018 12:18:07 +0000 (15:18 +0300)
commitc3039b10df74818bdd1d7e9d2b8706c855c4394b
treef947df21919acc34bee3f2bd7e0b64131d13ab36
parent49564a806fc5551ef22140e9aa4e29c6788d3eb0
iwlwifi: make bitfield a u32 instead of u16

The bitfield we use in struct iwl_cfg contains 17 bits, but we declare
it as u16.  The compiler doesn't seem to have any problems with that
(it probably automatically makes it u32), but it's cleaner to use a
type that is long enough for all the flags.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-config.h