|
@@ -435,6 +435,16 @@ void rt2x00mac_configure_filter(struct ieee80211_hw *hw,
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(rt2x00mac_configure_filter);
|
|
|
|
|
|
+int rt2x00mac_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
|
|
|
+ bool set)
|
|
|
+{
|
|
|
+ struct rt2x00_dev *rt2x00dev = hw->priv;
|
|
|
+
|
|
|
+ rt2x00lib_beacondone(rt2x00dev);
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+EXPORT_SYMBOL_GPL(rt2x00mac_set_tim);
|
|
|
+
|
|
|
#ifdef CONFIG_RT2X00_LIB_CRYPTO
|
|
|
static void memcpy_tkip(struct rt2x00lib_crypto *crypto, u8 *key, u8 key_len)
|
|
|
{
|
|
@@ -454,16 +464,6 @@ static void memcpy_tkip(struct rt2x00lib_crypto *crypto, u8 *key, u8 key_len)
|
|
|
sizeof(crypto->rx_mic));
|
|
|
}
|
|
|
|
|
|
-int rt2x00mac_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
|
|
|
- bool set)
|
|
|
-{
|
|
|
- struct rt2x00_dev *rt2x00dev = hw->priv;
|
|
|
-
|
|
|
- rt2x00lib_beacondone(rt2x00dev);
|
|
|
- return 0;
|
|
|
-}
|
|
|
-EXPORT_SYMBOL_GPL(rt2x00mac_set_tim);
|
|
|
-
|
|
|
int rt2x00mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
|
|
|
struct ieee80211_vif *vif, struct ieee80211_sta *sta,
|
|
|
struct ieee80211_key_conf *key)
|