diff options
author | Zhao, Gang <gamerh2o@gmail.com> | 2014-04-21 12:53:02 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-25 17:32:56 +0200 |
commit | 1b8ec87aa077c527c9e3525e16098ca7efbc853d (patch) | |
tree | 5bc41e5194c59c88d3b27b637410c27c4a2a207e /net/wireless/core.h | |
parent | 308f7fcfdba47f24cd70cba978fd10fb4584e61c (diff) | |
download | linux-stable-1b8ec87aa077c527c9e3525e16098ca7efbc853d.tar.gz linux-stable-1b8ec87aa077c527c9e3525e16098ca7efbc853d.tar.bz2 linux-stable-1b8ec87aa077c527c9e3525e16098ca7efbc853d.zip |
cfg80211: change registered device pointer name
Name "dev" is too common and ambiguous, let all the pointer name
pointing to struct cfg80211_registered_device be "rdev". This can
improve code readability and consistency(since other places have
already called it rdev).
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index 5bee6cc94b21..c65f4a92710c 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -251,8 +251,8 @@ int cfg80211_dev_rename(struct cfg80211_registered_device *rdev, void ieee80211_set_bitrate_flags(struct wiphy *wiphy); -void cfg80211_bss_expire(struct cfg80211_registered_device *dev); -void cfg80211_bss_age(struct cfg80211_registered_device *dev, +void cfg80211_bss_expire(struct cfg80211_registered_device *rdev); +void cfg80211_bss_age(struct cfg80211_registered_device *rdev, unsigned long age_secs); /* IBSS */ |