]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: reorder device setup
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 22 Jan 2010 22:22:53 +0000 (14:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Jan 2010 21:36:24 +0000 (16:36 -0500)
commitbdd9d3e80d05b2b006ec6015d4f449bb437d9a9a
tree5cfd028cf21c9abf2f997a7623314a60f4449e51
parentcdbfdb5e6f09bb1564aca3b7cae86f705455690f
iwlwifi: reorder device setup

It is better to first notify cfg80211 about the hw
rfkill state (so the rfkill device that will be
registered won't have the wrong state while being
registered), and the power/tt variable init can
(and probably should) also be done first.

Also rename iwl_setup_mac to
iwl_mac_setup_register to better describe what it
really does.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c