iwlwifi: do not use huge command buffer for channel switch
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 18 May 2010 16:18:06 +0000 (09:18 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Sun, 6 Jun 2010 06:18:56 +0000 (23:18 -0700)
commit3839f7ce6dc749e3170e1bfa656cfac748528117
treec4210fb405273f07239b68087edba2d133590654
parentff0d91c3eea6e25b47258349b455671f98f1b0cd
iwlwifi: do not use huge command buffer for channel switch

Channel switch host command do not need to allocate huge command buffer
since its size is already included in the iwl_device_cmd structure.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-5000.c
drivers/net/wireless/iwlwifi/iwl-6000.c