diff options
author | Ido Yariv <[email protected]> | 2012-03-05 20:09:38 +0200 |
---|---|---|
committer | Gustavo F. Padovan <[email protected]> | 2012-03-08 02:26:04 -0300 |
commit | fdde0a26a218d95e2ea38c0838ab6f24040af14c (patch) | |
tree | d75f8452272fb189a19312ca406ee3a672d6ef0a /net/lapb/lapb_subr.c | |
parent | b3ff53ff006b7906c88adf9d0fccc06a8877fae1 (diff) |
Bluetooth: Set security level on incoming pairing request
If a master would like to raise the security level, it will send a
pairing request. While the pending security level is set on an incoming
security request (from a slave), it is not set on a pairing request. As
a result, the security level would not be raised on the slave in such
case.
Fix this by setting the pending security when receiving pairing
requests according to the requested authorization.
Signed-off-by: Ido Yariv <[email protected]>
Acked-by: Vinicius Costa Gomes <[email protected]>
Signed-off-by: Gustavo F. Padovan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions