iwlwifi: fix length check in multi-TB HCMD
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 14 Mar 2013 06:35:06 +0000 (08:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2013 11:07:07 +0000 (12:07 +0100)
commitcc904c7188c29847817f35e6966fec3014c7479b
treefb3dffc0a22dfdd8b58164246f231f2d5e62f47e
parent2470b36e84a2e680d7a7e3809cbceae5bfae3606
iwlwifi: fix length check in multi-TB HCMD

As reported by Ben Hutchings, there was a harmless issue in
the checks being done on the lengths of the TBs while
building the TFD for a multi-TB host command.

Cc: stable@vger@kernel.org
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c