From: Bill Wang Date: Fri, 12 Apr 2013 13:38:34 +0800 Subject: [ath9k-devel] OP_INVALID ... defines in the htc.h Message-ID: <092D7931DE6F4C0C80AF2F8A4447FF9F@magicpixel.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi All, Seems that the defines below should be changed to bit numbers since set_bit/test_bit take bit number as arguments. #define OP_INVALID BIT(0) #define OP_SCANNING BIT(1) #define OP_ENABLE_BEACON BIT(2) #define OP_BT_PRIORITY_DETECTED BIT(3) #define OP_BT_SCAN BIT(4) #define OP_ANI_RUNNING BIT(5) #define OP_TSF_RESET BIT(6) That is: #define OP_INVALID (0) #define OP_SCANNING (1) #define OP_ENABLE_BEACON (2) #define OP_BT_PRIORITY_DETECTED (3) #define OP_BT_SCAN (4) #define OP_ANI_RUNNING (5) #define OP_TSF_RESET (6) Regards, Weisung -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130412/9afd6062/attachment.htm