aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-04-05 22:05:55 (GMT)
committerJouni Malinen <j@w1.fi>2016-05-02 08:08:25 (GMT)
commit596a3fef83f23634f5ad4a30afcbb2c0f73fab06 (patch)
treecc03055de34bb95e9237a8a33058817199746d47
parent8721af54e400a8e64c761a320ebb8b51ad2caf03 (diff)
downloadhostap-596a3fef83f23634f5ad4a30afcbb2c0f73fab06.zip
hostap-596a3fef83f23634f5ad4a30afcbb2c0f73fab06.tar.gz
hostap-596a3fef83f23634f5ad4a30afcbb2c0f73fab06.tar.bz2
tests: Use \t instead of \n in discovery_ctrl_char_in_devname
This is needed to allow the SET command to be modified to reject newline characters. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r--tests/hwsim/test_p2p_discovery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_p2p_discovery.py b/tests/hwsim/test_p2p_discovery.py
index 8931421..5f3ebac 100644
--- a/tests/hwsim/test_p2p_discovery.py
+++ b/tests/hwsim/test_p2p_discovery.py
@@ -179,7 +179,7 @@ def test_discovery_ctrl_char_in_devname(dev):
dev[1].global_request("SET device_name Device B")
def _test_discovery_ctrl_char_in_devname(dev):
- dev[1].global_request("SET device_name Device\nB")
+ dev[1].global_request("SET device_name Device\tB")
addr0 = dev[0].p2p_dev_addr()
addr1 = dev[1].p2p_dev_addr()
res = dev[0].p2p_start_go(freq=2422)