]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: fix error return code in if_cs_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 30 Oct 2013 05:22:34 +0000 (13:22 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Nov 2013 19:38:58 +0000 (14:38 -0500)
commita1b15205d994affb99a6c4f1a8629c7982e2fc9d
tree02b3ce61ea08df48d5fccb9315dd32456bb90bb7
parentb1503455b6915b7e21e7b1dcaa8017d3b8807330
libertas: fix error return code in if_cs_probe()

Fix to return -ENODEV in the unknown model error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_cs.c