OP_INVALID ... defines in the htc.h
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
Quoted 2 lines · Bill Wang
Seems that the defines below should be changed to bit numbers since set_bit/test_bit take bit number as arguments.
Makes sense. Can you please send a patch ?
Sujith
OK. I'll do that.
Weisung
-----Original Message-----
From: Sujith Manoharan [mailto:sujith at msujith.org]
Sent: Monday, April 15, 2013 9:10 AM
To: billwang at magicpixel.com.tw
Cc: ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] OP_INVALID ... defines in the htc.h
Quoted 2 lines · Bill Wang
Seems that the defines below should be changed to bit numbers since set_bit/test_bit take bit number as arguments.
Makes sense. Can you please send a patch ?
Sujith