]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: Fix a bug introduced by the HUGE command removal
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 21 Jun 2011 18:03:01 +0000 (11:03 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 24 Jun 2011 18:20:38 +0000 (11:20 -0700)
commit20268e1e85151a8aafa00355ff5a5e5923061175
treedbdba768f14306e69f6e4d02c7fc98b6798fbc1e
parentc93931a8eefc4200910665f2a5ed70e77e9b623c
iwlagn: Fix a bug introduced by the HUGE command removal

Since we don't have HUGE command any more, there is no point in adding 1
to the num of slots in the command queue. Doing so is buggy and might corrupt
memory.

Bug introduced by 805c49c6edf68bf1b9f4845c02fac15c89c5c724
iwlagn: support multiple TBs per command

Cc: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-tx.c