summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-01-31 09:41:52 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-01-31 15:11:38 -0500
commit7c3ee9e3fd065e878a2dbaec9d417441c59799be (patch)
tree5231708b5140325c61f3713e3d7a6789979329ca
parent8c7914dec29f39a6a8ca348a5eeace40a59be65d (diff)
downloadblackbird-obmc-linux-7c3ee9e3fd065e878a2dbaec9d417441c59799be.tar.gz
blackbird-obmc-linux-7c3ee9e3fd065e878a2dbaec9d417441c59799be.zip
wl12xx: fix warning due to missing arg in ampdu_action
Commit 0b01f030d38e00650e2db42da083d8647aad40a5 added a new argument to the ampdu_action operation. The ampdu_action operation in the wl12xx driver currently doesn't have that argument and this generates a warning. This happened during merging of the latest mac80211 patches with the wl12xx BA patches. CC [M] drivers/net/wireless/wl12xx/main.o drivers/net/wireless/wl12xx/main.c:3035: warning: initialization from incompatible pointer type The wl12xx driver doesn't need to do anything about the buf_size argument since the AMPDU TX is fully handled by the firmware. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/wl12xx/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index dfab21e2e5dc..254b7daccee1 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -2724,8 +2724,9 @@ out:
}
int wl1271_op_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
- enum ieee80211_ampdu_mlme_action action,
- struct ieee80211_sta *sta, u16 tid, u16 *ssn)
+ enum ieee80211_ampdu_mlme_action action,
+ struct ieee80211_sta *sta, u16 tid, u16 *ssn,
+ u8 buf_size)
{
struct wl1271 *wl = hw->priv;
int ret;
OpenPOWER on IntegriCloud