]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
iwlwifi: increase command buffer size
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Fri, 19 Feb 2010 19:49:49 +0000 (11:49 -0800)
committerReinette Chatre <reinette.chatre@intel.com>
Tue, 23 Feb 2010 22:59:12 +0000 (14:59 -0800)
commit89612124d6d62230043ebd827a2b54ea5ea5280c
tree6bc255e176748a399948ef8c7549632409931ace
parenta120e912eb51e347f36c71b60a1d13af74d30e83
iwlwifi: increase command buffer size

Increase the buffer size for commands with "huge"
bit set. This has been recently observed for 6050 cards where
for even with huge bit set few commands were not properly allocated
memory with the command overwriting the buffer allocated for it..
Also add a check to see if command size exceeds the
maximum allowable size.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-commands.h
drivers/net/wireless/iwlwifi/iwl-tx.c