diff options
author | Daniel Drake | 2007-05-24 01:06:41 +0100 |
---|---|---|
committer | Jeff Garzik | 2007-07-08 22:16:37 -0400 |
commit | 9c8fc71ddd1b42c0c632036333790f230cea815d (patch) | |
tree | 1f122493a966c9caba9ec1666a2a2503259b3fce /drivers/net/wireless/zd1211rw/zd_chip.c | |
parent | a9eea9ae6e82d1b0f453c24103a84ce7af5d1e15 (diff) |
[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.c | 3 |
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; |