]> 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)
commit7c8212023a52f294461fa54189f76f5c584cbebf
treec183e9b924e90f01f858f0abc7b65c91f1a07297
parent0d7c4379d707e0f2b8cef9a3c68822e74493f8ec
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