iwlwifi: range check to testmode direct reg access

Added a check on the direct register access.
Checks that the address is in the lower ragnge (0x0-0x2000),
which belongs to CSR, HBUS and FH registers.

Signed-off-by: Amit Beka <amit.beka@intel.com>
Signed-off-by: Wey-Yi W Guy <wey-yi.w.guy@intel.com>
This commit is contained in:
Amit Beka 2012-01-25 09:19:24 +02:00 • committed by Wey-Yi Guy
commit 6fe7dd0db0