]> git.baikalelectronics.ru Git - kernel.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)
commit46c46f5930f72a9f62319e1bcf0121c81d8a0687
treea4aa53c18545ed3f9e4ab0ff6bb7184b37ee6c01
parentc718c43ec7190cef3274adfcf446e29893f78630
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