From: Dan Carpenter Date: Wed, 7 Dec 2016 11:21:22 +0000 (+0300) Subject: adm80211: return an error if adm8211_alloc_rings() fails X-Git-Tag: v3.2.89~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddd1f383daf45b7dcbde927e3a25088ca0cc4a39;p=pandora-kernel.git adm80211: return an error if adm8211_alloc_rings() fails commit c705a6b3aa7804d7bc6660183f51e510c61dc807 upstream. We accidentally return success when adm8211_alloc_rings() fails but we should preserve the error code. Fixes: cc0b88cf5ecf ("[PATCH] Add adm8211 802.11b wireless driver") Signed-off-by: Dan Carpenter Signed-off-by: Kalle Valo [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed