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)
commit1e89cbac16dd91f1ddbf53c68fecb85d42793841
treec183e9b924e90f01f858f0abc7b65c91f1a07297
parentd62b39e105e427510f8996c03db9ce1bf83fcad8
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