staging: rtl8723au: Fixup last users to use the kernel's WLAN_EID_* definitions
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 15 Apr 2014 17:43:33 +0000 (19:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2014 18:03:56 +0000 (11:03 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_cmd.c
drivers/staging/rtl8723au/core/rtw_ioctl_set.c

index 592f0ee274e468554f76638c8999707d9952faf4..f8306efa979d666f80e553d87a8167803b0522ef 100644 (file)
@@ -1461,7 +1461,7 @@ static void rtw_chk_hi_queue_hdl(struct rtw_adapter *padapter)
                        pstapriv->tim_bitmap &= ~BIT(0);
                        pstapriv->sta_dz_bitmap &= ~BIT(0);
 
-                       update_beacon23a(padapter, _TIM_IE_, NULL, false);
+                       update_beacon23a(padapter, WLAN_EID_TIM, NULL, false);
                } else /* re check again */
                        rtw_chk_hi_queue_cmd23a(padapter);
        }
index 1f9d3a3d49200bfdbf3274f53c403d250e62d0ca..6468c1ca2528c421b7e45e3250085899837f6823 100644 (file)
@@ -557,7 +557,7 @@ u16 rtw_get_cur_max_rate23a(struct rtw_adapter *adapter)
                return 0;
 
        if (pmlmeext->cur_wireless_mode & (WIRELESS_11_24N|WIRELESS_11_5N)) {
-               p = rtw_get_ie23a(&pcur_bss->IEs[12], _HT_CAPABILITY_IE_,
+               p = rtw_get_ie23a(&pcur_bss->IEs[12], WLAN_EID_HT_CAPABILITY,
                               &ht_ielen, pcur_bss->IELength - 12);
                if (p && ht_ielen > 0) {
                        pht_capie = (struct ieee80211_ht_cap *)(p + 2);