summaryrefslogtreecommitdiffstats
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorZhao, Gang <gamerh2o@gmail.com>2014-04-21 12:53:02 +0800
committerJohannes Berg <johannes.berg@intel.com>2014-04-25 17:32:56 +0200
commit1b8ec87aa077c527c9e3525e16098ca7efbc853d (patch)
tree5bc41e5194c59c88d3b27b637410c27c4a2a207e /net/wireless/core.h
parent308f7fcfdba47f24cd70cba978fd10fb4584e61c (diff)
downloadop-kernel-dev-1b8ec87aa077c527c9e3525e16098ca7efbc853d.zip
op-kernel-dev-1b8ec87aa077c527c9e3525e16098ca7efbc853d.tar.gz
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index 5bee6cc..c65f4a9 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 */
OpenPOWER on IntegriCloud