Commit d281fd46 authored by Zhu Yi's avatar Zhu Yi Committed by John W. Linville

iwmc3200wifi: mark some pmksa functions static

This fixes the sparse warnings.
Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 880f8bdd
...@@ -725,7 +725,8 @@ static int iwm_cfg80211_set_power_mgmt(struct wiphy *wiphy, ...@@ -725,7 +725,8 @@ static int iwm_cfg80211_set_power_mgmt(struct wiphy *wiphy,
CFG_POWER_INDEX, iwm->conf.power_index); CFG_POWER_INDEX, iwm->conf.power_index);
} }
int iwm_cfg80211_set_pmksa(struct wiphy *wiphy, struct net_device *netdev, static int iwm_cfg80211_set_pmksa(struct wiphy *wiphy,
struct net_device *netdev,
struct cfg80211_pmksa *pmksa) struct cfg80211_pmksa *pmksa)
{ {
struct iwm_priv *iwm = wiphy_to_iwm(wiphy); struct iwm_priv *iwm = wiphy_to_iwm(wiphy);
...@@ -733,7 +734,8 @@ int iwm_cfg80211_set_pmksa(struct wiphy *wiphy, struct net_device *netdev, ...@@ -733,7 +734,8 @@ int iwm_cfg80211_set_pmksa(struct wiphy *wiphy, struct net_device *netdev,
return iwm_send_pmkid_update(iwm, pmksa, IWM_CMD_PMKID_ADD); return iwm_send_pmkid_update(iwm, pmksa, IWM_CMD_PMKID_ADD);
} }
int iwm_cfg80211_del_pmksa(struct wiphy *wiphy, struct net_device *netdev, static int iwm_cfg80211_del_pmksa(struct wiphy *wiphy,
struct net_device *netdev,
struct cfg80211_pmksa *pmksa) struct cfg80211_pmksa *pmksa)
{ {
struct iwm_priv *iwm = wiphy_to_iwm(wiphy); struct iwm_priv *iwm = wiphy_to_iwm(wiphy);
...@@ -741,7 +743,8 @@ int iwm_cfg80211_del_pmksa(struct wiphy *wiphy, struct net_device *netdev, ...@@ -741,7 +743,8 @@ int iwm_cfg80211_del_pmksa(struct wiphy *wiphy, struct net_device *netdev,
return iwm_send_pmkid_update(iwm, pmksa, IWM_CMD_PMKID_DEL); return iwm_send_pmkid_update(iwm, pmksa, IWM_CMD_PMKID_DEL);
} }
int iwm_cfg80211_flush_pmksa(struct wiphy *wiphy, struct net_device *netdev) static int iwm_cfg80211_flush_pmksa(struct wiphy *wiphy,
struct net_device *netdev)
{ {
struct iwm_priv *iwm = wiphy_to_iwm(wiphy); struct iwm_priv *iwm = wiphy_to_iwm(wiphy);
struct cfg80211_pmksa pmksa; struct cfg80211_pmksa pmksa;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment