From: Johannes Berg Date: Tue, 3 Mar 2026 14:09:21 +0000 (+0100) Subject: wifi: mac80211: remove AID bit stripping for print X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f39e2cc2b01225c1af7f18ff112047c13240d06;p=thirdparty%2Flinux.git wifi: mac80211: remove AID bit stripping for print Since the top bits have already been masked off according to whether or not it's S1G, there's no need to mask again for printing. Remove the superfluous code. Link: https://patch.msgid.link/20260303150921.d04ad4dfdc48.I78da2953982e85aab386867dc9db83471bf35475@changeid Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index da79df92994dd..5ecd3d1b172df 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -6721,7 +6721,7 @@ static void ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata, sdata_info(sdata, "RX %sssocResp from %pM (capab=0x%x status=%d aid=%d)\n", reassoc ? "Rea" : "A", assoc_data->ap_addr, - capab_info, status_code, (u16)(aid & ~(BIT(15) | BIT(14)))); + capab_info, status_code, aid); ifmgd->broken_ap = false;