iwlwifi: don't init trans->reg_lock from the op_mode
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 23 Apr 2012 22:03:06 +0000 (15:03 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 May 2012 00:56:09 +0000 (20:56 -0400)
commit8b5bed90a508c93835473fd9d5e9a1d60140aac5
treec32ed815119ad97a4b17fcae5e07f28659d1b29e
parentf6b1154678ec73f7dd9a9fab16b402966305d452
iwlwifi: don't init trans->reg_lock from the op_mode

This doesn't make any sense. Init it from the transport instead.

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-pcie.c