aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-11-26 06:42:02 -0500
committerJohannes Berg <johannes.berg@intel.com>2014-11-26 14:56:42 -0500
commit98f0334263f177dd22ca7c685cde04b47cc57b05 (patch)
treeb91346fbd400ceb756d02aacb4f050398c9c7a38 /drivers/net
parent5b97f49d653d366d8cb03cab40f8c45eb59dc70c (diff)
cfg80211: clean up beacon loss CQM event
Having it as a sub-event for RSSI thresholds is very ugly, but luckily no userspace actually uses the events yet. Move the event to its own function call internally and to its own event attribute in nl80211. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ti/wlcore/event.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/ti/wlcore/event.c b/drivers/net/wireless/ti/wlcore/event.c
index 16d10281798d..5153640f4532 100644
--- a/drivers/net/wireless/ti/wlcore/event.c
+++ b/drivers/net/wireless/ti/wlcore/event.c
@@ -259,10 +259,7 @@ void wlcore_event_beacon_loss(struct wl1271 *wl, unsigned long roles_bitmap)
259 &wlvif->connection_loss_work, 259 &wlvif->connection_loss_work,
260 msecs_to_jiffies(delay)); 260 msecs_to_jiffies(delay));
261 261
262 ieee80211_cqm_rssi_notify( 262 ieee80211_cqm_beacon_loss_notify(vif, GFP_KERNEL);
263 vif,
264 NL80211_CQM_RSSI_BEACON_LOSS_EVENT,
265 GFP_KERNEL);
266 } 263 }
267} 264}
268EXPORT_SYMBOL_GPL(wlcore_event_beacon_loss); 265EXPORT_SYMBOL_GPL(wlcore_event_beacon_loss);