]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
iwlwifi: fix possible read attempt on ucode that is not available
authorReinette Chatre <reinette.chatre@intel.com>
Mon, 21 Jan 2008 18:08:31 +0000 (10:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2008 11:11:41 +0000 (03:11 -0800)
commita781cf94e6dcc09bf13e548298185d916d9ff3c8
treea4aa53c18545ed3f9e4ab0ff6bb7184b37ee6c01
parent1e34a11d55c9437775367d72ad03f9af99e78bd0
iwlwifi: fix possible read attempt on ucode that is not available

This fixes a NULL pointer dereference that can occur when the
ucode is not loaded at the time __iwl_up is called.

The problem was reported at http://kerneloops.org/raw.php?rawid=2765&msgid=

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c