diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2014-05-19 23:53:21 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-21 11:15:17 +0400 |
commit | 7406353d43c8e2faf478721e87aeb6f2f9685de0 (patch) | |
tree | 18a40be271902692ba38d8d93f71a3f85848fc60 /net/wireless/rdev-ops.h | |
parent | cca674d47e59665630f3005291b61bb883015fc5 (diff) | |
download | linux-7406353d43c8e2faf478721e87aeb6f2f9685de0.tar.xz |
cfg80211: implement cfg80211_get_station cfg80211 API
Implement and export the new cfg80211_get_station() API.
This utility can be used by other kernel modules to obtain
detailed information about a given wireless station.
It will be in particular useful to batman-adv which will
implement a wireless rate based metric.
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/rdev-ops.h')
-rw-r--r-- | net/wireless/rdev-ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/rdev-ops.h b/net/wireless/rdev-ops.h index 00cdf73ba6c4..d95bbe348138 100644 --- a/net/wireless/rdev-ops.h +++ b/net/wireless/rdev-ops.h @@ -199,7 +199,7 @@ static inline int rdev_change_station(struct cfg80211_registered_device *rdev, } static inline int rdev_get_station(struct cfg80211_registered_device *rdev, - struct net_device *dev, u8 *mac, + struct net_device *dev, const u8 *mac, struct station_info *sinfo) { int ret; |