summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorZijun Hu <zijun.hu@oss.qualcomm.com>2025-06-23 20:31:16 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-07-23 10:25:34 -0400
commit4d7936e8a5b1fa803f4a631d2da4a80fa4f0f37f (patch)
treef219620f79fec9ce96bd6ae2167ece6a584c3c73 /scripts/lib/kdoc/kdoc_output.py
parentb47c97f2ed9434ccff4efb0b08e3cc0a6c4e08c8 (diff)
Bluetooth: hci_sock: Reset cookie to zero in hci_sock_free_cookie()
Reset cookie value to 0 instead of 0xffffffff in hci_sock_free_cookie() since: 0 : means cookie has not been assigned yet 0xffffffff: means cookie assignment failure Also fix generating cookie failure with usage shown below: hci_sock_gen_cookie(sk) // generate cookie hci_sock_free_cookie(sk) // free cookie hci_sock_gen_cookie(sk) // Can't generate cookie any more Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions