aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-03-05 21:10:07 +0300
committerJohn W. Linville <[email protected]>2012-03-06 15:16:07 -0500
commite9a8e8ec1e487536568adc4b3efa8f56e4391a7b (patch)
tree1ceeaf8ccafc6179a04fb0f8b948d809069ae8cb /tools/perf/scripts/python/net_dropmonitor.py
parent342bbf3fee2fa9a18147e74b2e3c4229a4564912 (diff)
airo: fix test for FLAG_RADIO_DOWN
We should be doing a shift (1 << FLAG_RADIO_DOWN) here before testing the flag. As luck would have it, this test works almost correctly. The current code tests for FLAG_RADIO_OFF instead of FLAG_RADIO_DOWN. #define FLAG_RADIO_OFF 0 /* User disabling of MAC */ #define FLAG_RADIO_DOWN 1 /* ifup/ifdown disabling of MAC */ Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions