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)
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>

No differences found