diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-09-08 15:58:46 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-21 23:58:37 +0200 |
commit | bdf745295610c1214ff8a9219051d4318c8dbee9 (patch) | |
tree | f6b147c9da4165c756bc0c3940580af71d32dc11 /patches | |
parent | ffe4ead96fb7bac3520ea2adb0f9b66aacd3ce48 (diff) |
backports: replace new portid usage
In this upstream commit a new usage of portid was introduced:
commit ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95
Author: Samuel Ortiz <sameo@linux.intel.com>
Date: Wed Jul 24 18:10:50 2013 +0200
NFC: Add a GET_SE netlink API
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/collateral-evolutions/nfc/01-netlink-portid/net_nfc_netlink.patch | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/patches/collateral-evolutions/nfc/01-netlink-portid/net_nfc_netlink.patch b/patches/collateral-evolutions/nfc/01-netlink-portid/net_nfc_netlink.patch index 16cbf8ec..f73352c1 100644 --- a/patches/collateral-evolutions/nfc/01-netlink-portid/net_nfc_netlink.patch +++ b/patches/collateral-evolutions/nfc/01-netlink-portid/net_nfc_netlink.patch @@ -54,7 +54,16 @@ exit: device_unlock(&dev->dev); -@@ -1315,12 +1315,12 @@ static int nfc_genl_rcv_nl_event(struct +@@ -1253,7 +1253,7 @@ static int nfc_genl_dump_ses(struct sk_b + while (dev) { + int rc; + +- rc = nfc_genl_send_se(skb, dev, NETLINK_CB(cb->skb).portid, ++ rc = nfc_genl_send_se(skb, dev, NETLINK_CB_PORTID(cb->skb), + cb->nlh->nlmsg_seq, cb, NLM_F_MULTI); + if (rc < 0) + break; +@@ -1408,12 +1408,12 @@ static int nfc_genl_rcv_nl_event(struct if (event != NETLINK_URELEASE || n->protocol != NETLINK_GENERIC) goto out; |