]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ieee80211/ieee80211_wx.c
[TIPC] Group protocols with sub-options in Kconfig
[karo-tx-linux.git] / net / ieee80211 / ieee80211_wx.c
index 181755f2aa8bf8e53cee7121bd807ee56bc7ec59..23e1630f50b7cf872e01286c01a108cbc66c478f 100644 (file)
@@ -42,7 +42,7 @@ static const char *ieee80211_modes[] = {
 };
 
 #define MAX_CUSTOM_LEN 64
-static inline char *ipw2100_translate_scan(struct ieee80211_device *ieee,
+static char *ipw2100_translate_scan(struct ieee80211_device *ieee,
                                           char *start, char *stop,
                                           struct ieee80211_network *network)
 {
@@ -284,7 +284,7 @@ int ieee80211_wx_set_encode(struct ieee80211_device *ieee,
        };
        int i, key, key_provided, len;
        struct ieee80211_crypt_data **crypt;
-       int host_crypto = ieee->host_encrypt || ieee->host_decrypt;
+       int host_crypto = ieee->host_encrypt || ieee->host_decrypt || ieee->host_build_iv;
 
        IEEE80211_DEBUG_WX("SET_ENCODE\n");