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
Signed-off-by: Golan Ben Ami <firstname.lastname@example.org>
Signed-off-by: Luca Coelho <email@example.com>
Tested-by: Brian Norris <firstname.lastname@example.org>
Tested-by: George Engelbrecht <email@example.com>
Reviewed-by: Brian Norris <firstname.lastname@example.org>
Commit-Queue: George Engelbrecht <email@example.com>
(cherry picked from commit 878cc96fc2e0dd3ebfb830793dc429ff002216ba)
Commit-Queue: Brian Norris <firstname.lastname@example.org>
4 files changed