libertas: Fix lbs_prb_rsp_limit_set()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Jun 2017 15:17:38 +0000 (18:17 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 28 Jun 2017 18:18:08 +0000 (21:18 +0300)
commit69551f5f370cc20342fab17ca54716b6ec7e332d
tree966ab5b49d872596c83063756dead20c3bbcb94b
parent3ac27dd37b40ae9a1a2690c91f27ab339b275142
libertas: Fix lbs_prb_rsp_limit_set()

The kstrtoul() test was reversed so this always returned -ENOTSUPP.

Fixes: 27d7f47756f4 ("net: wireless: replace strict_strtoul() with kstrtoul()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: James Cameron <quozl@laptop.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas/mesh.c