forked from Minki/linux
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>
This commit is contained in:
parent
b16ae7160a
commit
3ba5c8466b
@ -353,7 +353,7 @@ struct nci_core_set_config_rsp {
|
||||
struct nci_core_conn_create_rsp {
|
||||
__u8 status;
|
||||
__u8 max_ctrl_pkt_payload_len;
|
||||
__u8 credits;
|
||||
__u8 credits_cnt;
|
||||
__u8 conn_id;
|
||||
} __packed;
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user