iwlwifi: contextify command sending
authorJohannes Berg <johannes.berg@intel.com>
Mon, 23 Aug 2010 08:46:37 +0000 (10:46 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 27 Aug 2010 16:11:49 +0000 (09:11 -0700)
commit8f2d3d2ae17855e396483724f152f223e6f01bfe
treeedaf836cba8426be3d93426beccc94848ccbfb42
parentdcef732c72fbe960de5069d3921bb6ce6847be58
iwlwifi: contextify command sending

Some commands will have different command IDs
for different contexts, so we need to store
those IDs in the context structure and use
them instead of hardcoding the commands.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl3945-base.c