iwlwifi: add range checking in tm sram read command
authorKenny Hsu <kenny.hsu@intel.com>
Wed, 23 Nov 2011 14:57:22 +0000 (06:57 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 2 Dec 2011 16:20:57 +0000 (08:20 -0800)
The size of sram may alter according to ucode type.
Retrieve the maximum sram size by current ucode
type for range checking to prevent wrong data access.

Signed-off-by: Kenny Hsu <kenny.hsu@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>

No differences found