Commit f7ea097d authored by Reinette Chatre's avatar Reinette Chatre Committed by John W. Linville

iwlagn: fix null pointer access during ucode load on 1000

Commit "iwlwifi: Handle new firmware file with ucode build number
in header" introduced new ucode header parsing routines, but
neglected to initialize these routines for 1000. The system thus goes
into infinite loop trying to load ucode, failing every time with a null
pointer exception as it tries to parse the header.
Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
Acked-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1da46beb
...@@ -124,6 +124,7 @@ static struct iwl_lib_ops iwl1000_lib = { ...@@ -124,6 +124,7 @@ static struct iwl_lib_ops iwl1000_lib = {
}; };
static struct iwl_ops iwl1000_ops = { static struct iwl_ops iwl1000_ops = {
.ucode = &iwl5000_ucode,
.lib = &iwl1000_lib, .lib = &iwl1000_lib,
.hcmd = &iwl5000_hcmd, .hcmd = &iwl5000_hcmd,
.utils = &iwl5000_hcmd_utils, .utils = &iwl5000_hcmd_utils,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment