aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-12-27 17:09:31 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-27 17:35:12 (GMT)
commit121f2ab49a7bedcebeeab8b5b1f7214f3e603e54 (patch)
tree6abb701d7c30ab694861411e70eda8d2ebc7d8ad /hostapd
parent3578e665bf4d6f4394f520538b2fe822acb21ace (diff)
downloadhostap-121f2ab49a7bedcebeeab8b5b1f7214f3e603e54.zip
hostap-121f2ab49a7bedcebeeab8b5b1f7214f3e603e54.tar.gz
hostap-121f2ab49a7bedcebeeab8b5b1f7214f3e603e54.tar.bz2
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>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/dump_state.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/hostapd/dump_state.c b/hostapd/dump_state.c
index 2fa387f..3c639f9 100644
--- a/hostapd/dump_state.c
+++ b/hostapd/dump_state.c
@@ -103,16 +103,13 @@ static void hostapd_dump_state(struct hostapd_data *hapd)
fprintf(f, "\nSTA=" MACSTR "\n", MAC2STR(sta->addr));
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"
" capability=0x%x listen_interval=%d\n",
sta->aid,
sta->flags,
(sta->flags & WLAN_STA_AUTH ? "[AUTH]" : ""),
(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]" : ""),
(sta->flags & WLAN_STA_PENDING_POLL ? "[PENDING_POLL" :
""),