Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                        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);
        }
 
                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);