diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-02-03 19:48:06 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-02-04 09:13:15 +0100 |
commit | 3ba5c8466b320c3fd5d5861b34aa8a31dd0cf6b3 (patch) | |
tree | e6d9e4b91a5106c5174e6bde95c19db5f71fde4a /net/nfc/nci/rsp.c | |
parent | b16ae7160a836c4a1e443ea6efca31421e86bae1 (diff) | |
download | op-kernel-dev-3ba5c8466b320c3fd5d5861b34aa8a31dd0cf6b3.zip op-kernel-dev-3ba5c8466b320c3fd5d5861b34aa8a31dd0cf6b3.tar.gz |
NFC: nci: Change credits field to credits_cnt
For consistency sake change nci_core_conn_create_rsp structure
credits field to credits_cnt.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/nci/rsp.c')
-rw-r--r-- | net/nfc/nci/rsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/nci/rsp.c b/net/nfc/nci/rsp.c index 05268eb..b419fed 100644 --- a/net/nfc/nci/rsp.c +++ b/net/nfc/nci/rsp.c @@ -245,7 +245,7 @@ static void nci_core_conn_create_rsp_packet(struct nci_dev *ndev, conn_info->conn_id = rsp->conn_id; conn_info->max_pkt_payload_len = rsp->max_ctrl_pkt_payload_len; - atomic_set(&conn_info->credits_cnt, rsp->credits); + atomic_set(&conn_info->credits_cnt, rsp->credits_cnt); } exit: |