iwlwifi: don't crash on firmware file missing info
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 May 2010 08:17:57 +0000 (01:17 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Thu, 13 May 2010 17:43:06 +0000 (10:43 -0700)
commitc9696b2b6c36704dbd1eb51fd4465704a395a6ff
tree792346a411b68057bb4c5ce5c5d9a6d44e48e3be
parent1d60a79ed516edcc62c5f74e4223d21e10a5cc14
iwlwifi: don't crash on firmware file missing info

If a firmware file misses one of the required
instruction or data pieces, the driver currently
crashes. Let it gracefully refuse that firmware
file instead.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-helpers.h