]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: r8188eu: remove rx_ampdu_maxlen member of ht_priv
authorIvan Safonov <insafonov@gmail.com>
Wed, 24 Aug 2016 08:22:11 +0000 (15:22 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 16:01:41 +0000 (18:01 +0200)
rx_ampdu_maxlen used only once for assigning value.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme.c
drivers/staging/rtl8188eu/include/rtw_ht.h

index a16d9512d4455a22c645917f90d2d48cf8e40a26..9eccadc6f8660fc68036f289774c3bf935f4a7bc 100644 (file)
@@ -2037,7 +2037,6 @@ void rtw_update_ht_cap(struct adapter *padapter, u8 *pie, uint ie_len)
 
                max_ampdu_sz = ht_cap->ampdu_params_info & IEEE80211_HT_CAP_AMPDU_FACTOR;
                max_ampdu_sz = 1 << (max_ampdu_sz+3); /*  max_ampdu_sz (kbytes); */
-               phtpriv->rx_ampdu_maxlen = max_ampdu_sz;
        }
        len = 0;
        p = rtw_get_ie(pie+sizeof(struct ndis_802_11_fixed_ie), _HT_ADD_INFO_IE_, &len, ie_len-sizeof(struct ndis_802_11_fixed_ie));
index 2b03b115bfd394692b32f8561aac551338531779..0ee11ef09bcf1982b5a776aea63b80c49525502a 100644 (file)
@@ -21,8 +21,6 @@
 struct ht_priv {
        u32     ht_option;
        u32     ampdu_enable;/* for enable Tx A-MPDU */
-       u32     rx_ampdu_maxlen; /* for rx reordering ctrl win_sz,
-                                 * updated when join_callback. */
        u8      bwmode;/*  */
        u8      ch_offset;/* PRIME_CHNL_OFFSET */
        u8      sgi;/* short GI */