diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 9909eec6afe3b289e63b2288079d2b123c08760d..18e3594f238c5ee81a54b568b3d9b53d73c9a621 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c @@ -83,7 +83,7 @@ static struct sco_conn *sco_conn_add(struct hci_conn *hcon) if (conn) return conn; - conn = kzalloc(sizeof(struct sco_conn), GFP_ATOMIC); + conn = kzalloc(sizeof(struct sco_conn), GFP_KERNEL); if (!conn) return NULL;