summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2012-03-02 13:21:22 -0600
committerJohn W. Linville <linville@tuxdriver.com>2012-03-05 15:53:47 -0500
commit48de1a17fc41613b7e9d61037fa989256d04234f (patch)
treeae7aa10257c863880a932d78f2b7231f9404ea3d /drivers/net/wireless/rtlwifi/rtl8192ce/reg.h
parent3abead59fcdeb56df8b83288a2f5edbe6423b0bb (diff)
downloadlinux-48de1a17fc41613b7e9d61037fa989256d04234f.tar.gz
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 <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192ce/reg.h')
0 files changed, 0 insertions, 0 deletions