From: Alexey Khoroshilov Date: Mon, 5 Aug 2013 03:18:28 +0000 (+0400) Subject: hostap: do not return positive number on failure path in prism2_open() X-Git-Tag: v3.12-rc1~132^2~297^2^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cbe8c87fe02513e6de981c18502d220ed4afe41;p=pandora-kernel.git hostap: do not return positive number on failure path in prism2_open() prism2_open() as an .ndo_open handler should not return positive numbers in case of failure, but it does return 1 in a couple of places. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: John W. Linville --- Reading git-diff-tree failed