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