Skip to content

Commit 112c31f

Browse files
committed
mac80211: fix AP beacon loss messages
The messages currently refer to probe request probes, but on some devices null data packets will be used instead. Make the messages more generic. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent f9e124f commit 112c31f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/mac80211/mlme.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@ static void ieee80211_mgd_probe_ap(struct ieee80211_sub_if_data *sdata,
17461746

17471747
if (beacon)
17481748
mlme_dbg_ratelimited(sdata,
1749-
"detected beacon loss from AP - sending probe request\n");
1749+
"detected beacon loss from AP - probing\n");
17501750

17511751
ieee80211_cqm_rssi_notify(&sdata->vif,
17521752
NL80211_CQM_RSSI_BEACON_LOSS_EVENT, GFP_KERNEL);
@@ -2641,7 +2641,7 @@ static void ieee80211_rx_mgmt_beacon(struct ieee80211_sub_if_data *sdata,
26412641

26422642
if (ifmgd->flags & IEEE80211_STA_BEACON_POLL) {
26432643
mlme_dbg_ratelimited(sdata,
2644-
"cancelling probereq poll due to a received beacon\n");
2644+
"cancelling AP probe due to a received beacon\n");
26452645
mutex_lock(&local->mtx);
26462646
ifmgd->flags &= ~IEEE80211_STA_BEACON_POLL;
26472647
ieee80211_run_deferred_scan(local);

0 commit comments

Comments
 (0)