Replace ieee802_11_print_ssid() with wpa_ssid_txt()
There is no need to maintain two different functions for printing out ASCII text version of SSID. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
93ee3022dc
commit
b37d582eaf
3 changed files with 3 additions and 23 deletions
|
@ -520,12 +520,10 @@ void handle_probe_req(struct hostapd_data *hapd,
|
|||
sta->ssid_probe = &hapd->conf->ssid;
|
||||
} else {
|
||||
if (!(mgmt->da[0] & 0x01)) {
|
||||
char ssid_txt[33];
|
||||
ieee802_11_print_ssid(ssid_txt, elems.ssid,
|
||||
elems.ssid_len);
|
||||
wpa_printf(MSG_MSGDUMP, "Probe Request from " MACSTR
|
||||
" for foreign SSID '%s' (DA " MACSTR ")%s",
|
||||
MAC2STR(mgmt->sa), ssid_txt,
|
||||
MAC2STR(mgmt->sa),
|
||||
wpa_ssid_txt(elems.ssid, elems.ssid_len),
|
||||
MAC2STR(mgmt->da),
|
||||
elems.ssid_list ? " (SSID list)" : "");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue