diff options
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r-- | net/wireless/mlme.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index 11f6469b3f98..3dba19e17271 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c | |||
@@ -707,3 +707,13 @@ void cfg80211_remain_on_channel_expired(struct net_device *dev, | |||
707 | channel_type, gfp); | 707 | channel_type, gfp); |
708 | } | 708 | } |
709 | EXPORT_SYMBOL(cfg80211_remain_on_channel_expired); | 709 | EXPORT_SYMBOL(cfg80211_remain_on_channel_expired); |
710 | |||
711 | void cfg80211_new_sta(struct net_device *dev, const u8 *mac_addr, | ||
712 | struct station_info *sinfo, gfp_t gfp) | ||
713 | { | ||
714 | struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; | ||
715 | struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); | ||
716 | |||
717 | nl80211_send_sta_event(rdev, dev, mac_addr, sinfo, gfp); | ||
718 | } | ||
719 | EXPORT_SYMBOL(cfg80211_new_sta); | ||