iwlwifi: explicitly track whether INIT uCode was run
authorDavid Spinadel <david.spinadel@intel.com>
Sat, 10 Mar 2012 21:00:11 +0000 (13:00 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Mar 2012 18:22:04 +0000 (14:22 -0400)
commitb5ea1624833b816184aa262c190f2774b8d2ea63
treed59b11f5a01d1c54f7acfe4d8d59ec6085fa6df5
parent8f7ffbe2b275e5315773322161945a24518e31f4
iwlwifi: explicitly track whether INIT uCode was run

Remove IWL_UCODE_NONE from enum iwl_ucode_type which,
by being the default value in 0-initialized memory,
implicitly allowed us to track whether any uCode had
ever been loaded successfully (which would have been
the INIT uCode) and instead explicitly track whether
or not INIT uCode has been run.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-shared.h
drivers/net/wireless/iwlwifi/iwl-ucode.c