]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mac80211: remove AID bit stripping for print
authorJohannes Berg <johannes.berg@intel.com>
Tue, 3 Mar 2026 14:09:21 +0000 (15:09 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 6 Mar 2026 09:45:15 +0000 (10:45 +0100)
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 <johannes.berg@intel.com>
net/mac80211/mlme.c

index da79df92994ddfca88ebc87d98bb009986bb051b..5ecd3d1b172df70c6e447351c89f956b6d873c20 100644 (file)
@@ -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;