rtlwifi: Fix build problems introduced by merging rtl8192de
[pandora-kernel.git] / drivers / net / wireless / rtlwifi / wifi.h
index 693395e..491e97f 100644 (file)
@@ -303,9 +303,6 @@ enum hw_variables {
        HW_VAR_DATA_FILTER,
 };
 
-#define HWSET_MAX_SIZE                         128
-#define EFUSE_MAX_SECTION                      16
-
 enum _RT_MEDIA_STATUS {
        RT_MEDIA_DISCONNECT = 0,
        RT_MEDIA_CONNECT = 1
@@ -938,7 +935,7 @@ struct rtl_mac {
        int n_channels;
        int n_bitrates;
 
-       bool offchan_deley;
+       bool offchan_delay;
 
        /*filters */
        u32 rx_conf;
@@ -1188,7 +1185,6 @@ struct rtl_efuse {
 
 struct rtl_ps_ctl {
        bool pwrdomain_protect;
-       bool set_rfpowerstate_inprogress;
        bool in_powersavemode;
        bool rfchange_inprogress;
        bool swrf_processing;
@@ -1536,6 +1532,7 @@ struct rtl_works {
        /* For SW LPS */
        struct delayed_work ps_work;
        struct delayed_work ps_rfon_wq;
+       struct tasklet_struct ips_leave_tasklet;
 };
 
 struct rtl_debug {
@@ -1983,7 +1980,7 @@ static inline u16 rtl_get_tid(struct sk_buff *skb)
 
 static inline struct ieee80211_sta *get_sta(struct ieee80211_hw *hw,
                                            struct ieee80211_vif *vif,
-                                           u8 *bssid)
+                                           const u8 *bssid)
 {
        return ieee80211_find_sta(vif, bssid);
 }