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.

BUG=b:145757342
TEST=Connect wifi and make sure the TX power is as defined in the SAR
     tables.

Change-Id: Id5cf852ec8c5dbf20ba86bad7b165a0c828f8b2e
Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com>
iwl7000-tree: d97aa65f59ee64c05c3aebaacbc7cba7e5fac19a
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2102483
Tested-by: Brian Norris <briannorris@chromium.org>
Tested-by: George Engelbrecht <engeg@google.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Commit-Queue: George Engelbrecht <engeg@google.com>
(cherry picked from commit 878cc96fc2e0dd3ebfb830793dc429ff002216ba)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2118184
Commit-Queue: Brian Norris <briannorris@chromium.org>
4 files changed