]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: remove duplicate initialization in __iwl_down()
authorDan Carpenter <error27@gmail.com>
Tue, 15 Mar 2011 07:03:24 +0000 (10:03 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Mar 2011 18:15:11 +0000 (14:15 -0400)
commit8fefa3570a62200dbfad8bbcc5423c99a9bf9648
treebde9b2314908db028bdd2144398044acc91b769b
parent8fee371925e9b3313e55812fd93cc1adaea36399
iwlwifi: remove duplicate initialization in __iwl_down()

We initialize exit_pending twice.  It's the second initialization which
is correct.  That was added in 83a7c488ab "iwlwifi: cancel scan when
down the device".

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c