diff options
author | Ben Greear <greearb@candelatech.com> | 2012-10-26 17:49:25 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-05 10:33:45 -0500 |
commit | 37c73b5f323c973c1db6857494a6685260440be1 (patch) | |
tree | 5f9e2b055552c6e5053f8a2ab2ebb686b3af5411 /include/net/cfg80211.h | |
parent | 391e53e33f0028f52ce5eedee1026830571f0d76 (diff) |
cfg80211: allow registering more than one beacon listener
The commit:
commit 5e760230e42cf759bd923457ca2753aacf2e656e
Author: Johannes Berg <johannes.berg@intel.com>
Date: Fri Nov 4 11:18:17 2011 +0100
cfg80211: allow registering to beacons
allowed only a single process to register for beacon events
per wiphy. This breaks cases where a user may want two or
more VIFs on a wiphy and run a seperate hostapd process on
each vif.
This patch allows multiple beacon listeners, fixing the
regression.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index cee791fd4cff..10c9fc68d1af 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -3560,7 +3560,6 @@ void cfg80211_probe_status(struct net_device *dev, const u8 *addr, | |||
3560 | * @len: length of the frame | 3560 | * @len: length of the frame |
3561 | * @freq: frequency the frame was received on | 3561 | * @freq: frequency the frame was received on |
3562 | * @sig_dbm: signal strength in mBm, or 0 if unknown | 3562 | * @sig_dbm: signal strength in mBm, or 0 if unknown |
3563 | * @gfp: allocation flags | ||
3564 | * | 3563 | * |
3565 | * Use this function to report to userspace when a beacon was | 3564 | * Use this function to report to userspace when a beacon was |
3566 | * received. It is not useful to call this when there is no | 3565 | * received. It is not useful to call this when there is no |
@@ -3568,7 +3567,7 @@ void cfg80211_probe_status(struct net_device *dev, const u8 *addr, | |||
3568 | */ | 3567 | */ |
3569 | void cfg80211_report_obss_beacon(struct wiphy *wiphy, | 3568 | void cfg80211_report_obss_beacon(struct wiphy *wiphy, |
3570 | const u8 *frame, size_t len, | 3569 | const u8 *frame, size_t len, |
3571 | int freq, int sig_dbm, gfp_t gfp); | 3570 | int freq, int sig_dbm); |
3572 | 3571 | ||
3573 | /** | 3572 | /** |
3574 | * cfg80211_can_beacon_sec_chan - test if ht40 on extension channel can be used | 3573 | * cfg80211_can_beacon_sec_chan - test if ht40 on extension channel can be used |