iwlwifi: Fix null pointer referencing in iwl_dbgfs_rx_queue_read.
authorDor Shaish <dor.shaish@intel.com>
Tue, 1 Jun 2010 07:04:08 +0000 (00:04 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 14 Jun 2010 17:59:25 +0000 (10:59 -0700)
commitf5cc6a224d9f41d963fa4cee35d3db2559e8015d
treeb6f704b7806245f995d685312f51c2d18f02fc37
parentf4989d9befbeeaa2c070fc251edd75e8ffc6deef
iwlwifi: Fix null pointer referencing in iwl_dbgfs_rx_queue_read.

Test for null pointer prior to access.
Print "Not Allocated" if null pointer.

Signed-off-by: Dor Shaish <dor.shaish@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-debugfs.c