iwlwifi: send testmode hcmd reply with rx header
authorAmit Beka <amit.beka@intel.com>
Wed, 8 Feb 2012 08:01:35 +0000 (10:01 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 17 Feb 2012 18:55:10 +0000 (10:55 -0800)
commitedabfa914d52daf8c01511109144fe5af3c4389e
treef7e117b3fd05577f13e20ca5e8b9a1154b60503a
parent858b7c74dda1d748a687a523e83cf7d1449c70f3
iwlwifi: send testmode hcmd reply with rx header

When a host command is sent through testmode, the whole
reply (including rx header) is returned to the user, and not
only the payload of the rx.
Before this commit the length was buggy - the reply contained 4 bytes
after the end of the payload.

Signed-off-by: Amit Beka <amit.beka@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-testmode.c