diff options
Diffstat (limited to 'net/bluetooth/sco.c')
-rw-r--r-- | net/bluetooth/sco.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 7714a2ec3854..14b0f6930637 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c | |||
@@ -967,7 +967,8 @@ static int __init sco_init(void) | |||
967 | goto error; | 967 | goto error; |
968 | } | 968 | } |
969 | 969 | ||
970 | class_create_file(bt_class, &class_attr_sco); | 970 | if (class_create_file(bt_class, &class_attr_sco) < 0) |
971 | BT_ERR("Failed to create SCO info file"); | ||
971 | 972 | ||
972 | BT_INFO("SCO (Voice Link) ver %s", VERSION); | 973 | BT_INFO("SCO (Voice Link) ver %s", VERSION); |
973 | BT_INFO("SCO socket layer initialized"); | 974 | BT_INFO("SCO socket layer initialized"); |