CHROMIUM: iwl7000: don't send GEO_TX_POWER_LIMIT if no wgds table

The GEO_TX_POWER_LIMIT command was sent although
there is no wgds table, so the fw got wrong SAR values
from the driver.

Fix this by avoiding sending the command if no wgds
tables are available.

TEST=Connect wifi and make sure the TX power is as defined in the SAR

Change-Id: Id5cf852ec8c5dbf20ba86bad7b165a0c828f8b2e
Signed-off-by: Golan Ben Ami <>
iwl7000-tree: d97aa65f59ee64c05c3aebaacbc7cba7e5fac19a
Signed-off-by: Luca Coelho <>
Tested-by: Brian Norris <>
Tested-by: George Engelbrecht <>
Reviewed-by: Brian Norris <>
Commit-Queue: George Engelbrecht <>
(cherry picked from commit 878cc96fc2e0dd3ebfb830793dc429ff002216ba)
Commit-Queue: Brian Norris <>
4 files changed