diff options
author | Zhu Yi <yi.zhu@intel.com> | 2010-02-25 01:15:30 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-10 17:09:39 -0500 |
commit | d281fd461dcb9b3d0dc46180bf6e90da3913079d (patch) | |
tree | 29f41b0a3cda5fe4a0d855c1ca3a23537aa73a60 /drivers/net/wireless/iwmc3200wifi | |
parent | 880f8bdd396ef0548d5967db55e45ce2135fbb2b (diff) |
iwmc3200wifi: mark some pmksa functions static
This fixes the sparse warnings.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/cfg80211.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/cfg80211.c b/drivers/net/wireless/iwmc3200wifi/cfg80211.c index 6778e5838fe6..fc239a32cb6b 100644 --- a/drivers/net/wireless/iwmc3200wifi/cfg80211.c +++ b/drivers/net/wireless/iwmc3200wifi/cfg80211.c | |||
@@ -725,23 +725,26 @@ static int iwm_cfg80211_set_power_mgmt(struct wiphy *wiphy, | |||
725 | CFG_POWER_INDEX, iwm->conf.power_index); | 725 | CFG_POWER_INDEX, iwm->conf.power_index); |
726 | } | 726 | } |
727 | 727 | ||
728 | int iwm_cfg80211_set_pmksa(struct wiphy *wiphy, struct net_device *netdev, | 728 | static int iwm_cfg80211_set_pmksa(struct wiphy *wiphy, |
729 | struct cfg80211_pmksa *pmksa) | 729 | struct net_device *netdev, |
730 | struct cfg80211_pmksa *pmksa) | ||
730 | { | 731 | { |
731 | struct iwm_priv *iwm = wiphy_to_iwm(wiphy); | 732 | struct iwm_priv *iwm = wiphy_to_iwm(wiphy); |
732 | 733 | ||
733 | return iwm_send_pmkid_update(iwm, pmksa, IWM_CMD_PMKID_ADD); | 734 | return iwm_send_pmkid_update(iwm, pmksa, IWM_CMD_PMKID_ADD); |
734 | } | 735 | } |
735 | 736 | ||
736 | int iwm_cfg80211_del_pmksa(struct wiphy *wiphy, struct net_device *netdev, | 737 | static int iwm_cfg80211_del_pmksa(struct wiphy *wiphy, |
737 | struct cfg80211_pmksa *pmksa) | 738 | struct net_device *netdev, |
739 | struct cfg80211_pmksa *pmksa) | ||
738 | { | 740 | { |
739 | struct iwm_priv *iwm = wiphy_to_iwm(wiphy); | 741 | struct iwm_priv *iwm = wiphy_to_iwm(wiphy); |
740 | 742 | ||
741 | return iwm_send_pmkid_update(iwm, pmksa, IWM_CMD_PMKID_DEL); | 743 | return iwm_send_pmkid_update(iwm, pmksa, IWM_CMD_PMKID_DEL); |
742 | } | 744 | } |
743 | 745 | ||
744 | int iwm_cfg80211_flush_pmksa(struct wiphy *wiphy, struct net_device *netdev) | 746 | static int iwm_cfg80211_flush_pmksa(struct wiphy *wiphy, |
747 | struct net_device *netdev) | ||
745 | { | 748 | { |
746 | struct iwm_priv *iwm = wiphy_to_iwm(wiphy); | 749 | struct iwm_priv *iwm = wiphy_to_iwm(wiphy); |
747 | struct cfg80211_pmksa pmksa; | 750 | struct cfg80211_pmksa pmksa; |