NFC: Remove the rf mode parameter from the DEP link up routine
When calling nfc_dep_link_up, we implicitely are in initiator mode. Which means we also can provide the general bytes as a function argument, as all drivers will eventually request them. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
9dda50f4c9
commit
47807d3dbb
@@ -281,7 +281,7 @@ void nfc_llcp_put_ssap(struct nfc_llcp_local *local, u8 ssap)
|
||||
mutex_unlock(&local->sdp_lock);
|
||||
}
|
||||
|
||||
u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, u8 *general_bytes_len)
|
||||
u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, size_t *general_bytes_len)
|
||||
{
|
||||
struct nfc_llcp_local *local;
|
||||
|
||||
|
Reference in New Issue
Block a user