iwlagn: simplify the iwl_device_cmd layout
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 20 Sep 2011 22:37:24 +0000 (15:37 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 Sep 2011 20:19:43 +0000 (16:19 -0400)
commit132f98c2dc702940ed2bb58e7aa48432c2c62f7b
tree3e7809c7544639b75ad78a1a1ec6f61a6d0edc91
parent247c61d625154e18a105d663281c52376a882762
iwlagn: simplify the iwl_device_cmd layout

This simplifies both the transport layer and the upper layer.

Kill the union in the device command, which avoids the funny syntax
we had: cmd->cmd.payload.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@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-tx.c
drivers/net/wireless/iwlwifi/iwl-sta.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
drivers/net/wireless/iwlwifi/iwl-trans.h