aboutsummaryrefslogtreecommitdiff
path: root/src/transport/wlan/radiotap-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/wlan/radiotap-parser.c')
-rw-r--r--src/transport/wlan/radiotap-parser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/wlan/radiotap-parser.c b/src/transport/wlan/radiotap-parser.c
index ab75524f2..9cc992728 100644
--- a/src/transport/wlan/radiotap-parser.c
+++ b/src/transport/wlan/radiotap-parser.c
@@ -191,13 +191,13 @@ ieee80211_radiotap_iterator_next (struct ieee80211_radiotap_iterator *iterator)
191 */ 191 */
192 192
193 if ((((void *) iterator->arg) - 193 if ((((void *) iterator->arg) -
194 ((void *) iterator-> 194 ((void *) iterator->rtheader)) & ((rt_sizes[iterator->arg_index] >> 4)
195 rtheader)) & ((rt_sizes[iterator->arg_index] >> 4) - 1)) 195 - 1))
196 iterator->arg_index += 196 iterator->arg_index +=
197 (rt_sizes[iterator->arg_index] >> 4) - 197 (rt_sizes[iterator->arg_index] >> 4) -
198 ((((void *) iterator->arg) - 198 ((((void *) iterator->arg) -
199 ((void *) iterator-> 199 ((void *) iterator->rtheader)) & ((rt_sizes[iterator->arg_index] >>
200 rtheader)) & ((rt_sizes[iterator->arg_index] >> 4) - 1)); 200 4) - 1));
201 201
202 /* 202 /*
203 * this is what we will return to user, but we need to 203 * this is what we will return to user, but we need to