summaryrefslogtreecommitdiff
path: root/cesar/test_general
diff options
context:
space:
mode:
authorlaranjeiro2010-07-28 15:00:25 +0000
committerlaranjeiro2010-07-28 15:00:25 +0000
commitd792b3361e8134e932d763c65fa0e87a65b6841b (patch)
tree6fcc853c83ef8b738a0d7bb88f3796d8dd558df7 /cesar/test_general
parentf7c00daf792c0847a66c9dd7c2de45fb87a286cb (diff)
cesar/test_general/station/cco0/s1: fix scenario 01
CCo sends both central and discover beacons. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7327 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/test_general')
-rw-r--r--cesar/test_general/station/cco0/s1/py/sc1_one_sta_mac_start.py2
-rw-r--r--cesar/test_general/station/cco0/s1/py/sc1_one_sta_mac_start_cco_pref.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cesar/test_general/station/cco0/s1/py/sc1_one_sta_mac_start.py b/cesar/test_general/station/cco0/s1/py/sc1_one_sta_mac_start.py
index 13c1e2d11e..d353b6c7a3 100644
--- a/cesar/test_general/station/cco0/s1/py/sc1_one_sta_mac_start.py
+++ b/cesar/test_general/station/cco0/s1/py/sc1_one_sta_mac_start.py
@@ -69,7 +69,7 @@ class TestInitFunctions(unittest.TestCase):
print ""
for i in range (0, beacon_count):
res = (mpdu[i].fc_av[0]) & 0x3
- self.failUnless (res == 0x0)
+ self.failUnless (res == 0x0 or res == 0x1)
print "Beacon received correct ", i
def testStationState (self):
diff --git a/cesar/test_general/station/cco0/s1/py/sc1_one_sta_mac_start_cco_pref.py b/cesar/test_general/station/cco0/s1/py/sc1_one_sta_mac_start_cco_pref.py
index bac61e8ad4..e91e155b3a 100644
--- a/cesar/test_general/station/cco0/s1/py/sc1_one_sta_mac_start_cco_pref.py
+++ b/cesar/test_general/station/cco0/s1/py/sc1_one_sta_mac_start_cco_pref.py
@@ -69,7 +69,7 @@ class TestInitFunctions(unittest.TestCase):
print ""
for i in range (0, beacon_count):
res = (mpdu[i].fc_av[0]) & 0x3
- self.failUnless (res == 0x0)
+ self.failUnless (res == 0x0 or res == 0x1)
print "Beacon received correct ", i
def testStationState (self):