diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-03-05 19:10:07 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-06 21:16:07 +0100 |
commit | e9a8e8ec1e487536568adc4b3efa8f56e4391a7b (patch) | |
tree | 1ceeaf8ccafc6179a04fb0f8b948d809069ae8cb /include/target/target_core_base.h | |
parent | iwlwifi: always monitor for stuck queues (diff) | |
download | linux-e9a8e8ec1e487536568adc4b3efa8f56e4391a7b.tar.xz linux-e9a8e8ec1e487536568adc4b3efa8f56e4391a7b.zip |
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 <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/target/target_core_base.h')
0 files changed, 0 insertions, 0 deletions