]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 16:25:48 +0000 (09:25 -0700)
commit3d8e86bcaa87d05c3d7ffe428f54feacf24d11f8
tree3e34961d078b6492767f8ee58b7da59a7ddc16dd
parent8937760b75606528a7b0837215eda91100e2b988
iwlwifi: fix length check in multi-TB HCMD

commit cc904c7188c29847817f35e6966fec3014c7479b upstream.

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.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/pcie/tx.c