From: Larry Finger Date: Fri, 2 Mar 2012 19:21:22 +0000 (-0600) Subject: rtlwifi: Detect misread of end-point count X-Git-Tag: v3.4-rc1~177^2~108^2~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48de1a17fc41613b7e9d61037fa989256d04234f;p=pandora-kernel.git rtlwifi: Detect misread of end-point count In the unlikely event of a misread of the USB end point count, the driver generates a divide fault. To prevent this, add a check of the value returned by _rtl_usb_init(). In addition, add some logging to indicate why the condition occurred. Signed-off-by: Larry Finger Signed-off-by: John W. Linville --- Reading git-diff-tree failed