From 16fa090013c4ba1fb5eac4b9cfbe2dda4dc0691c Mon Sep 17 00:00:00 2001 From: Kano Date: Wed, 23 Jan 2013 22:39:26 +1100 Subject: [PATCH] usbutils stats_initialised not set --- usbutils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usbutils.c b/usbutils.c index 9eab1e1f..3c03510a 100644 --- a/usbutils.c +++ b/usbutils.c @@ -570,6 +570,8 @@ static void cgusb_check_init() usb_commands[C_SETMODEM] = C_SETMODEM_S; usb_commands[C_PURGERX] = C_PURGERX_S; usb_commands[C_PURGETX] = C_PURGETX_S; + + stats_initialised = true; } mutex_unlock(&cgusb_lock);