diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-07-13 21:27:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-16 14:03:41 -0400 |
commit | 9edd9520a2c664c6d72dca68adddd243d00006e8 (patch) | |
tree | b36c49db256d737109d57da76c3490fd022cb989 /drivers | |
parent | 0e954099b7910524b7fae831fbf2933bd25cb6d0 (diff) |
ath9k_htc: make ath9k_htc_tx_aggr_oper() static
This fixes this sparse complaint:
CHECK drivers/net/wireless/ath/ath9k/htc_drv_main.c
drivers/net/wireless/ath/ath9k/htc_drv_main.c:441:5:
warning: symbol 'ath9k_htc_tx_aggr_oper'
was not declared. Should it be static?
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_main.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c index 47f76031447b..32438771ca2b 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c | |||
@@ -438,10 +438,11 @@ static void ath9k_htc_update_rate(struct ath9k_htc_priv *priv, | |||
438 | bss_conf->bssid, be32_to_cpu(trate.capflags)); | 438 | bss_conf->bssid, be32_to_cpu(trate.capflags)); |
439 | } | 439 | } |
440 | 440 | ||
441 | int ath9k_htc_tx_aggr_oper(struct ath9k_htc_priv *priv, | 441 | static int ath9k_htc_tx_aggr_oper(struct ath9k_htc_priv *priv, |
442 | struct ieee80211_vif *vif, | 442 | struct ieee80211_vif *vif, |
443 | struct ieee80211_sta *sta, | 443 | struct ieee80211_sta *sta, |
444 | enum ieee80211_ampdu_mlme_action action, u16 tid) | 444 | enum ieee80211_ampdu_mlme_action action, |
445 | u16 tid) | ||
445 | { | 446 | { |
446 | struct ath_common *common = ath9k_hw_common(priv->ah); | 447 | struct ath_common *common = ath9k_hw_common(priv->ah); |
447 | struct ath9k_htc_target_aggr aggr; | 448 | struct ath9k_htc_target_aggr aggr; |