projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b02897e
)
Convert signed bit field to unsigned one
author
Jouni Malinen
<j@w1.fi>
Sun, 16 Oct 2011 10:21:54 +0000
(13:21 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sun, 16 Oct 2011 10:21:54 +0000
(13:21 +0300)
It's cleaner to use unsigned bit field with one bit values.
wpa_supplicant/gas_query.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/gas_query.c
b/wpa_supplicant/gas_query.c
index
0011017
..
1ac185a
100644
(file)
--- a/
wpa_supplicant/gas_query.c
+++ b/
wpa_supplicant/gas_query.c
@@
-33,8
+33,8
@@
struct gas_query_pending {
u8 addr[ETH_ALEN];
u8 dialog_token;
u8 next_frag_id;
- int wait_comeback:1;
- int offchannel_tx_started:1;
+
unsigned
int wait_comeback:1;
+
unsigned
int offchannel_tx_started:1;
int freq;
u16 status_code;
struct wpabuf *adv_proto;