summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zd1211rw/zd_chip.c
diff options
context:
space:
mode:
authorDaniel Drake2007-05-24 02:06:41 +0200
committerJeff Garzik2007-07-09 04:16:37 +0200
commit9c8fc71ddd1b42c0c632036333790f230cea815d (patch)
tree1f122493a966c9caba9ec1666a2a2503259b3fce /drivers/net/wireless/zd1211rw/zd_chip.c
parent[PATCH] zd1211rw: Add ID for ZyXEL G-200v2 (diff)
downloadkernel-qcow2-linux-9c8fc71ddd1b42c0c632036333790f230cea815d.tar.gz
kernel-qcow2-linux-9c8fc71ddd1b42c0c632036333790f230cea815d.tar.xz
kernel-qcow2-linux-9c8fc71ddd1b42c0c632036333790f230cea815d.zip
[PATCH] zd1211rw: Extend RF layer
These changes are needed for UW2453 RF support: Add pointer which RF drivers can use to store private RF data Add exit hook so that RF drivers can free private data Allow RF's to disable the generic TX power integration handling code Signed-off-by: Daniel Drake <dsd@gentoo.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_chip.c')
-rw-r--r--drivers/net/wireless/zd1211rw/zd_chip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_chip.c b/drivers/net/wireless/zd1211rw/zd_chip.c
index 95b4a2a26707..4a2ceb93aaad 100644
--- a/drivers/net/wireless/zd1211rw/zd_chip.c
+++ b/drivers/net/wireless/zd1211rw/zd_chip.c
@@ -1253,6 +1253,9 @@ static int update_channel_integration_and_calibration(struct zd_chip *chip,
{
int r;
+ if (!zd_rf_should_update_pwr_int(&chip->rf))
+ return 0;
+
r = update_pwr_int(chip, channel);
if (r)
return r;