staging: rtl8723au: rtw_recv.c: Use the kernel's WLAN_EID_* definitions
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 15 Apr 2014 17:43:32 +0000 (19:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2014 18:03:55 +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_recv.c

index 713a377ce28f976e89cc857690c5b30079553198..5d81a8c18218c9c4d5c0d72a8c9245625d9ad96b 100644 (file)
@@ -1216,8 +1216,8 @@ int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
 
                                        /* upate BCN for TIM IE */
                                        /* update_BCNTIM(padapter); */
-                                       update_beacon23a(padapter, _TIM_IE_,
-                                                     NULL, false);
+                                       update_beacon23a(padapter, WLAN_EID_TIM,
+                                                        NULL, false);
                                }
 
                                /* spin_unlock_bh(&psta->sleep_q.lock); */
@@ -1248,8 +1248,8 @@ int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
 
                                        /* upate BCN for TIM IE */
                                        /* update_BCNTIM(padapter); */
-                                       update_beacon23a(padapter, _TIM_IE_,
-                                                     NULL, false);
+                                       update_beacon23a(padapter, WLAN_EID_TIM,
+                                                        NULL, false);
                                }
                        }
                }