]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: pcie: limit fw chunk sizes given to fh
authorLiad Kaufman <liad.kaufman@intel.com>
Tue, 2 Dec 2014 12:28:45 +0000 (14:28 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Dec 2014 08:20:30 +0000 (10:20 +0200)
commitbaa21e834941ee5fbe4bd421c871f7c0c5f9a086
treea9f71094dd0063b73a946aabe2b081492692d75e
parent55fd1ce820f461b77919a1997ba8285652219024
iwlwifi: pcie: limit fw chunk sizes given to fh

New FW has chunks that are larger than the size limit of the
FH's DMA. To make sure we don't crash it - actively limit the
max size of each chunk.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-fh.h
drivers/net/wireless/iwlwifi/pcie/trans.c