commit | ba2ab47129eee76f6f0ef52b4beae30a12cee7f6 | [log] [tgz] |
---|---|---|
author | Ivo van Doorn <ivdoorn@gmail.com> | Wed Aug 06 16:22:17 2008 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Aug 22 16:29:59 2008 -0400 |
tree | aded96a0180e0e09122f1400a307f8d3d525feb0 | |
parent | 48c2fc59aa415ba92be0ad3a7e741c46883e3944 [diff] |
rt2x00: Move lna_gain calculation to config() callback We can optimize lna calculation in IRQ context by calculating most of the value during the config() callback when most of the value is actually influenced. This will be required later by rt2800pci and rt2800usb as well, since they need the lna_gain value during config(). Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>