From: Gabor Juhos Date: Mon, 14 Oct 2013 19:59:50 +0000 (+0200) Subject: rt2x00: rt2800lib: use {tx,rx}_chain_num to avoid superfluous EEPROM access X-Git-Tag: v3.13-rc1~105^2~55^2^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa10350d06254c5ee69535eaa48054f162d9bb91;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed