ipw2200: return error code on error in ipw_wx_get_auth()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 5 Dec 2012 08:08:11 +0000 (03:08 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Dec 2012 19:58:55 +0000 (14:58 -0500)
commit8df0f1e5cbd4ff1e2059a1e11bd89b35aa5ed004
tree4cff4b351b2bcdfb4d02d17832fea2f9f7bea52b
parent9304a1c7430590a7ee8ded5fc401ef483123de66
ipw2200: return error code on error in ipw_wx_get_auth()

We have assinged error code to 'ret' when get auth from some
option is not supported but never used it, but we'd better return
the error code.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2x00/ipw2200.c