]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a26ef154d0bb23c359be133bdbf12eba781d88c
treef7e117b3fd05577f13e20ca5e8b9a1154b60503a
parent05d48a5731ab2be0eb1003a91488ad78abb7ddc4
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