]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Filter control chars in group client device name similarly to peer
authorHu Wang <huw@qti.qualcomm.com>
Mon, 26 Oct 2015 21:40:59 +0000 (23:40 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 26 Oct 2015 21:43:45 +0000 (23:43 +0200)
commit5d1d69a10f60eec624689408ec85fbe93657156d
tree6118a17146381b059e80fcd4c0b7920cac658d2c
parentf67d1a009963e9d7c3071950e77237a9d290e4eb
P2P: Filter control chars in group client device name similarly to peer

P2P device discovery can add peer entries based on a message directly
from a peer and from a Probe Response frame from a GO for all the P2P
Clients in the group. The former case for filtering out control
characters from the device name while the latter was not. Make this
consistent and filter both cases in the same way to avoid confusing
external programs using the device name of a P2P peer.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.c
src/p2p/p2p_i.h
src/p2p/p2p_parse.c