Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: brcm80211: Add buf_size parameter to ampdu_action handler function

struct ieee80211_ops.ampdu_action function pointer definition now includes a
u8 buf_size parameter.

Update wl_ops_ampdu_action handler function according to this new signature.

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Javier Martinez Canillas and committed by
Greg Kroah-Hartman
c0365f04 f4728c38

+4 -2
+4 -2
drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
··· 149 149 static int wl_ops_ampdu_action(struct ieee80211_hw *hw, 150 150 struct ieee80211_vif *vif, 151 151 enum ieee80211_ampdu_mlme_action action, 152 - struct ieee80211_sta *sta, u16 tid, u16 *ssn); 152 + struct ieee80211_sta *sta, u16 tid, u16 *ssn, 153 + u8 buf_size); 153 154 static void wl_ops_rfkill_poll(struct ieee80211_hw *hw); 154 155 155 156 static int wl_ops_tx(struct ieee80211_hw *hw, struct sk_buff *skb) ··· 618 617 wl_ops_ampdu_action(struct ieee80211_hw *hw, 619 618 struct ieee80211_vif *vif, 620 619 enum ieee80211_ampdu_mlme_action action, 621 - struct ieee80211_sta *sta, u16 tid, u16 *ssn) 620 + struct ieee80211_sta *sta, u16 tid, u16 *ssn, 621 + u8 buf_size) 622 622 { 623 623 #if defined(BCMDBG) 624 624 struct scb *scb = (struct scb *)sta->drv_priv;