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)
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>

No differences found