mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Change "==0" to "== 0"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
83488f50f7
commit
c137ff21e5
40 changed files with 242 additions and 242 deletions
|
@ -30,12 +30,12 @@
|
|||
|
||||
#define RT_ETH_IS_MULTICAST(_pAddr) ((((u8 *)(_pAddr))[0]&0x01)!=0) /* Is Multicast Address? */
|
||||
#define RT_ETH_IS_BROADCAST(_pAddr) ( \
|
||||
((u8 *)(_pAddr))[0]==0xff && \
|
||||
((u8 *)(_pAddr))[1]==0xff && \
|
||||
((u8 *)(_pAddr))[2]==0xff && \
|
||||
((u8 *)(_pAddr))[3]==0xff && \
|
||||
((u8 *)(_pAddr))[4]==0xff && \
|
||||
((u8 *)(_pAddr))[5]==0xff ) /* Is Broadcast Address? */
|
||||
((u8 *)(_pAddr))[0]== 0xff && \
|
||||
((u8 *)(_pAddr))[1]== 0xff && \
|
||||
((u8 *)(_pAddr))[2]== 0xff && \
|
||||
((u8 *)(_pAddr))[3]== 0xff && \
|
||||
((u8 *)(_pAddr))[4]== 0xff && \
|
||||
((u8 *)(_pAddr))[5]== 0xff ) /* Is Broadcast Address? */
|
||||
|
||||
|
||||
#endif /* #ifndef __INC_ETHERNET_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue