Staging: rtl8192u: ieee80211: ieee80211_wx: Remove commented printk messages
authorShraddha Barke <shraddha.6596@gmail.com>
Sun, 11 Oct 2015 05:11:22 +0000 (10:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:40:48 +0000 (20:40 -0700)
Remove commented out printk messages since they are not needed

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c

index ae1b3cf2866cc9c85e1ca57ce821b31d8899642b..208be5fc527ae18e77ece946c25df9c05254e568 100644 (file)
@@ -522,7 +522,6 @@ int ieee80211_wx_set_encode_ext(struct ieee80211_device *ieee,
        struct ieee80211_security sec = {
                .flags = 0,
        };
-       //printk("======>encoding flag:%x,ext flag:%x, ext alg:%d\n", encoding->flags,ext->ext_flags, ext->alg);
        idx = encoding->flags & IW_ENCODE_INDEX;
        if (idx) {
                if (idx < 1 || idx > WEP_KEYS)
@@ -538,7 +537,6 @@ int ieee80211_wx_set_encode_ext(struct ieee80211_device *ieee,
                group_key = 1;
        } else {
                /* some Cisco APs use idx>0 for unicast in dynamic WEP */
-               //printk("not group key, flags:%x, ext->alg:%d\n", ext->ext_flags, ext->alg);
                if (idx != 0 && ext->alg != IW_ENCODE_ALG_WEP)
                        return -EINVAL;
                if (ieee->iw_mode == IW_MODE_INFRA)
@@ -567,7 +565,6 @@ int ieee80211_wx_set_encode_ext(struct ieee80211_device *ieee,
                        sec.level = SEC_LEVEL_0;
                        sec.flags |= SEC_LEVEL;
                }
-               //printk("disabled: flag:%x\n", encoding->flags);
                goto done;
        }
 
@@ -638,7 +635,6 @@ int ieee80211_wx_set_encode_ext(struct ieee80211_device *ieee,
                goto done;
        }
  //skip_host_crypt:
-       //printk("skip_host_crypt:ext_flags:%x\n", ext->ext_flags);
        if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {
                ieee->tx_keyidx = idx;
                sec.active_key = idx;
@@ -760,7 +756,6 @@ int ieee80211_wx_set_auth(struct ieee80211_device *ieee,
        switch (data->flags & IW_AUTH_INDEX) {
        case IW_AUTH_WPA_VERSION:
             /*need to support wpa2 here*/
-               //printk("wpa version:%x\n", data->value);
                break;
        case IW_AUTH_CIPHER_PAIRWISE:
        case IW_AUTH_CIPHER_GROUP:
@@ -791,16 +786,13 @@ int ieee80211_wx_set_auth(struct ieee80211_device *ieee,
                else if(data->value & IW_AUTH_ALG_LEAP){
                        ieee->open_wep = 1;
                        ieee->auth_mode = 2;
-                       //printk("hahahaa:LEAP\n");
                }
                else
                        return -EINVAL;
-               //printk("open_wep:%d\n", ieee->open_wep);
                break;
 
        case IW_AUTH_WPA_ENABLED:
                ieee->wpa_enabled = (data->value)?1:0;
-               //printk("enalbe wpa:%d\n", ieee->wpa_enabled);
                break;
 
        case IW_AUTH_RX_UNENCRYPTED_EAPOL: