Remove unused STA flags
These three flags were only displayed, but never set or used for anything else. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3578e665bf
commit
121f2ab49a
2 changed files with 1 additions and 7 deletions
|
@ -103,16 +103,13 @@ static void hostapd_dump_state(struct hostapd_data *hapd)
|
||||||
fprintf(f, "\nSTA=" MACSTR "\n", MAC2STR(sta->addr));
|
fprintf(f, "\nSTA=" MACSTR "\n", MAC2STR(sta->addr));
|
||||||
|
|
||||||
fprintf(f,
|
fprintf(f,
|
||||||
" AID=%d flags=0x%x %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"
|
" AID=%d flags=0x%x %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"
|
||||||
"\n"
|
"\n"
|
||||||
" capability=0x%x listen_interval=%d\n",
|
" capability=0x%x listen_interval=%d\n",
|
||||||
sta->aid,
|
sta->aid,
|
||||||
sta->flags,
|
sta->flags,
|
||||||
(sta->flags & WLAN_STA_AUTH ? "[AUTH]" : ""),
|
(sta->flags & WLAN_STA_AUTH ? "[AUTH]" : ""),
|
||||||
(sta->flags & WLAN_STA_ASSOC ? "[ASSOC]" : ""),
|
(sta->flags & WLAN_STA_ASSOC ? "[ASSOC]" : ""),
|
||||||
(sta->flags & WLAN_STA_PS ? "[PS]" : ""),
|
|
||||||
(sta->flags & WLAN_STA_TIM ? "[TIM]" : ""),
|
|
||||||
(sta->flags & WLAN_STA_PERM ? "[PERM]" : ""),
|
|
||||||
(ap_sta_is_authorized(sta) ? "[AUTHORIZED]" : ""),
|
(ap_sta_is_authorized(sta) ? "[AUTHORIZED]" : ""),
|
||||||
(sta->flags & WLAN_STA_PENDING_POLL ? "[PENDING_POLL" :
|
(sta->flags & WLAN_STA_PENDING_POLL ? "[PENDING_POLL" :
|
||||||
""),
|
""),
|
||||||
|
|
|
@ -12,9 +12,6 @@
|
||||||
/* STA flags */
|
/* STA flags */
|
||||||
#define WLAN_STA_AUTH BIT(0)
|
#define WLAN_STA_AUTH BIT(0)
|
||||||
#define WLAN_STA_ASSOC BIT(1)
|
#define WLAN_STA_ASSOC BIT(1)
|
||||||
#define WLAN_STA_PS BIT(2)
|
|
||||||
#define WLAN_STA_TIM BIT(3)
|
|
||||||
#define WLAN_STA_PERM BIT(4)
|
|
||||||
#define WLAN_STA_AUTHORIZED BIT(5)
|
#define WLAN_STA_AUTHORIZED BIT(5)
|
||||||
#define WLAN_STA_PENDING_POLL BIT(6) /* pending activity poll not ACKed */
|
#define WLAN_STA_PENDING_POLL BIT(6) /* pending activity poll not ACKed */
|
||||||
#define WLAN_STA_SHORT_PREAMBLE BIT(7)
|
#define WLAN_STA_SHORT_PREAMBLE BIT(7)
|
||||||
|
|
Loading…
Reference in a new issue