iwlagn: init cmd_queue earlier
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2011 16:42:05 +0000 (09:42 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:51:39 +0000 (15:51 -0400)
commit17445b8c443bb1aaf7f85bcf60676d04be1c467c
tree06c5272a31b83033377e65151e839b190bf42513
parentd7d5783c6668b54111cc77005755799e94261497
iwlagn: init cmd_queue earlier

We know after loading the ucode whether it will
support PAN or not, so we can also initialise
the cmd_queue variable much earlier.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-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