diff --git a/feeds/wifi-ax/hostapd/patches/750-wispr.patch b/feeds/wifi-ax/hostapd/patches/750-wispr.patch index f2f4a933d..d5772a4c0 100644 --- a/feeds/wifi-ax/hostapd/patches/750-wispr.patch +++ b/feeds/wifi-ax/hostapd/patches/750-wispr.patch @@ -120,7 +120,7 @@ Index: hostapd-2021-02-20-59e9794c/src/ap/sta_info.c else #endif /* CONFIG_P2P */ - os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(sta->addr)); -+ os_snprintf(buf, sizeof(buf), MACSTR " %d %d", MAC2STR(sta->addr), sta->bandwidth[0] / 1000, sta->bandwidth[1] / 1000); ++ os_snprintf(buf, sizeof(buf), MACSTR " %d %d", MAC2STR(sta->addr), sta->bandwidth[0] / 1000000, sta->bandwidth[1] / 1000000); if (hapd->sta_authorized_cb) hapd->sta_authorized_cb(hapd->sta_authorized_cb_ctx, diff --git a/patches/wifi/0005-hostapd-add-wispr-bandwidth-patch.patch b/patches/wifi/0005-hostapd-add-wispr-bandwidth-patch.patch index 468762b10..8b8a8e289 100644 --- a/patches/wifi/0005-hostapd-add-wispr-bandwidth-patch.patch +++ b/patches/wifi/0005-hostapd-add-wispr-bandwidth-patch.patch @@ -137,7 +137,7 @@ index 0000000000..f2f4a933d7 + else + #endif /* CONFIG_P2P */ +- os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(sta->addr)); -++ os_snprintf(buf, sizeof(buf), MACSTR " %d %d", MAC2STR(sta->addr), sta->bandwidth[0] / 1000, sta->bandwidth[1] / 1000); +++ os_snprintf(buf, sizeof(buf), MACSTR " %d %d", MAC2STR(sta->addr), sta->bandwidth[0] / 1000000, sta->bandwidth[1] / 1000000); + + if (hapd->sta_authorized_cb) + hapd->sta_authorized_cb(hapd->sta_authorized_cb_ctx,