From: Dan Carpenter Date: Mon, 5 Mar 2012 18:10:07 +0000 (+0300) Subject: airo: fix test for FLAG_RADIO_DOWN X-Git-Tag: v3.4-rc1~177^2~108^2~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9a8e8ec1e487536568adc4b3efa8f56e4391a7b;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed