libertas: fix return from lbs_update_channel()
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 16 Dec 2007 22:21:00 +0000 (17:21 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:07:39 +0000 (15:07 -0800)
commitd1a469fd1b7335572a3803b6ba4ce3783a74532b
treeefc55a2f2845c54a3d6895b4bc7f0a1826154003
parent681ffbb7d42435332fff0812145c7050d6153925
libertas: fix return from lbs_update_channel()

If we return the channel number in a 'ret' variable where anything
non-zero is later interpreted as an error, that isn't nice. It breaks
WPA, for a start. OLPC trac #5485

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/assoc.c