]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: probe would crash with DEBUG_SHIRQ
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 21 Jul 2011 00:51:22 +0000 (17:51 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 21 Jul 2011 14:41:07 +0000 (07:41 -0700)
commit99d859b1b7d9660115a32f1b9da2f401025b83e0
treec183e9b924e90f01f858f0abc7b65c91f1a07297
parent6ea2494d195b1450a0e7f67c3dfba9b1f0a13e28
iwlagn: probe would crash with DEBUG_SHIRQ

This is since my patch:

    iwlagn: introduce transport layer and implement rx_init

The IRQ is requested before the locks are initialized, hence the crash.
Initialize the tasklet before we request the IRQ on the way.

Reported-by: Johannes Berg <johannes.berg@intel.com>
Tested-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-trans.c