diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-10-14 23:59:50 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-10-18 22:03:54 +0400 |
commit | aa10350d06254c5ee69535eaa48054f162d9bb91 (patch) | |
tree | 7749ab034a96ed11afa41f0b353476ea3078c365 /drivers/net/phy/mdio-mux-mmioreg.c | |
parent | ad40d3da1e8683234714c3024219dc722ed1e214 (diff) | |
download | linux-aa10350d06254c5ee69535eaa48054f162d9bb91.tar.xz |
rt2x00: rt2800lib: use {tx,rx}_chain_num to avoid superfluous EEPROM access
The {rx,tx}_chain_num fields of rt2x00dev->default_ant
contains the number of RX and TX chains already when the
rt2800_probe_hw_mode() function runs. Use those values
instead of parsing the EEPROM configuration values again.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/phy/mdio-mux-mmioreg.c')
0 files changed, 0 insertions, 0 deletions