rt2x00: do not shortcut rt2x00lib_config_antenna
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 26 May 2010 17:33:31 +0000 (13:33 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Aug 2010 19:23:42 +0000 (15:23 -0400)
commit4d7ede7f5ad58c5316335b9018ddef58bd687def
treeef1ba058539462d2372596af43fae96ecd17350e
parent9714d315d28aef77a097fe905b25cc273c3d72ad
rt2x00: do not shortcut rt2x00lib_config_antenna

This function was exiting early if the existing diversity settings
were unchanged.  Unfortunately, in some cases the antenna configuration
is not initialized at all.

https://bugzilla.kernel.org/show_bug.cgi?id=14751

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Cc: Gertjan van Wingerde <gwingerde@gmail.com>
drivers/net/wireless/rt2x00/rt2x00config.c