]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rt2x00: Fix partial antenna configuration
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 27 Jul 2008 13:06:21 +0000 (15:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 1 Aug 2008 19:31:34 +0000 (15:31 -0400)
commitada662f3eb6231ab27f5e6366d4e5c395d25edd3
treefa692676e6ecdfbf28d3aae1e10271237ef16592
parentd2b690714cd7d328561bfb9bf941edd6a3316a85
rt2x00: Fix partial antenna configuration

The if-statement to determine the new TX/RX antenna
configuration was incomplete. It lacks the general
else-clause when the antenna wasn't changed.

This is a correct event, since it can occur when only
one of the antenna's has been changed or when the new
configuration is being forced (like when the interface
has just been added).

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