From: stsp Date: Mon, 12 Oct 2015 13:01:50 +0000 (+0000) Subject: Fix a copy-pasto: Check the correct bit for STBC beacon in HT OP element. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=580890301f087c8c072f841c27566c8671074ec9;p=openbsd Fix a copy-pasto: Check the correct bit for STBC beacon in HT OP element. ok sthen@ --- diff --git a/usr.sbin/tcpdump/print-802_11.c b/usr.sbin/tcpdump/print-802_11.c index ddd5d8b9a88..8438334270c 100644 --- a/usr.sbin/tcpdump/print-802_11.c +++ b/usr.sbin/tcpdump/print-802_11.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-802_11.c,v 1.25 2015/10/10 07:52:30 stsp Exp $ */ +/* $OpenBSD: print-802_11.c,v 1.26 2015/10/12 13:01:50 stsp Exp $ */ /* * Copyright (c) 2005 Reyk Floeter @@ -519,7 +519,7 @@ ieee80211_print_htop(u_int8_t *data, u_int len) htopinfo[4] = data[5]; /* space-time block coding (STBC) beacon */ - if ((htopinfo[4] << 8) & IEEE80211_HTOP2_DUALCTSPROT) + if ((htopinfo[4] << 8) & IEEE80211_HTOP2_STBCBEACON) printf(",STBC beacon"); /* L-SIG (non-HT signal field) TX opportunity (TXOP) protection */