]> git.karo-electronics.de Git - linux-beck.git/commit
rtl8187: remove redundant initialization of ARFR
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Tue, 2 Nov 2010 00:59:31 +0000 (22:59 -0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:25:38 +0000 (13:25 -0500)
commit327571ea9927beec2ee2ed9a266c57c1515393b4
tree5bd1145a87311d3c8dcaa35b1cd56017159b63c3
parentc0bf9ca98e07ca72c444a6cfb272aafa9890b9b6
rtl8187: remove redundant initialization of ARFR

This removes redundant write to Auto Rate Fallback Register on RTL8187B.
The same value was being written twice in the same function. Avoid this
removing the duplicate initialization on rtl8187b_reg_table, and also
add comment for this write (information from Realtek source).

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8187_dev.c