diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/mgmt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 17ebaa3b01bb..370cd42f488b 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c | |||
@@ -4708,7 +4708,8 @@ static int get_conn_info(struct sock *sk, struct hci_dev *hdev, void *data, | |||
4708 | /* Query controller to refresh cached values if they are too old or were | 4708 | /* Query controller to refresh cached values if they are too old or were |
4709 | * never read. | 4709 | * never read. |
4710 | */ | 4710 | */ |
4711 | if (time_after(jiffies, conn->conn_info_timestamp + conn_info_age) || | 4711 | if (time_after(jiffies, conn->conn_info_timestamp + |
4712 | msecs_to_jiffies(conn_info_age)) || | ||
4712 | !conn->conn_info_timestamp) { | 4713 | !conn->conn_info_timestamp) { |
4713 | struct hci_request req; | 4714 | struct hci_request req; |
4714 | struct hci_cp_read_tx_power req_txp_cp; | 4715 | struct hci_cp_read_tx_power req_txp_cp; |