Skip to content

Commit

Permalink
wifi: mac80211_hwsim: print the link id
Browse files Browse the repository at this point in the history
Print the link ID in link_info_changed function.

Signed-off-by: Shaul Triebitz <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
  • Loading branch information
striebit authored and jmberg-intel committed Jun 20, 2022
1 parent 2fd0c67 commit 245e5eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -2156,8 +2156,8 @@ static void mac80211_hwsim_link_info_changed(struct ieee80211_hw *hw,

hwsim_check_magic(vif);

wiphy_dbg(hw->wiphy, "%s(changed=0x%llx vif->addr=%pM)\n",
__func__, (unsigned long long)changed, vif->addr);
wiphy_dbg(hw->wiphy, "%s(changed=0x%llx vif->addr=%pM, link id %u)\n",
__func__, (unsigned long long)changed, vif->addr, link_id);

if (changed & BSS_CHANGED_BSSID) {
wiphy_dbg(hw->wiphy, "%s: BSSID changed: %pM\n",
Expand Down

0 comments on commit 245e5eb

Please sign in to comment.