mirror of https://gitee.com/openkylin/linux.git
Staging: rtl8192u: ieee80211: ieee80211_softmac: Remove commented printk messages
Remove commented printk since it is 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>
This commit is contained in:
parent
075eb0dc36
commit
d0ac7d896a
|
@ -1272,7 +1272,6 @@ static void ieee80211_associate_step1(struct ieee80211_device *ieee)
|
||||||
else{
|
else{
|
||||||
ieee->state = IEEE80211_ASSOCIATING_AUTHENTICATING ;
|
ieee->state = IEEE80211_ASSOCIATING_AUTHENTICATING ;
|
||||||
IEEE80211_DEBUG_MGMT("Sending authentication request\n");
|
IEEE80211_DEBUG_MGMT("Sending authentication request\n");
|
||||||
//printk(KERN_WARNING "Sending authentication request\n");
|
|
||||||
softmac_mgmt_xmit(skb, ieee);
|
softmac_mgmt_xmit(skb, ieee);
|
||||||
//BUGON when you try to add_timer twice, using mod_timer may be better, john0709
|
//BUGON when you try to add_timer twice, using mod_timer may be better, john0709
|
||||||
if (!timer_pending(&ieee->associate_timer)) {
|
if (!timer_pending(&ieee->associate_timer)) {
|
||||||
|
@ -1735,11 +1734,9 @@ static short ieee80211_sta_ps_sleep(struct ieee80211_device *ieee, u32 *time_h,
|
||||||
return 0;
|
return 0;
|
||||||
*/
|
*/
|
||||||
dtim = ieee->current_network.dtim_data;
|
dtim = ieee->current_network.dtim_data;
|
||||||
//printk("DTIM\n");
|
|
||||||
if(!(dtim & IEEE80211_DTIM_VALID))
|
if(!(dtim & IEEE80211_DTIM_VALID))
|
||||||
return 0;
|
return 0;
|
||||||
timeout = ieee->current_network.beacon_interval; //should we use ps_timeout value or beacon_interval
|
timeout = ieee->current_network.beacon_interval; //should we use ps_timeout value or beacon_interval
|
||||||
//printk("VALID\n");
|
|
||||||
ieee->current_network.dtim_data = IEEE80211_DTIM_INVALID;
|
ieee->current_network.dtim_data = IEEE80211_DTIM_INVALID;
|
||||||
|
|
||||||
if(dtim & ((IEEE80211_DTIM_UCAST | IEEE80211_DTIM_MBCAST)& ieee->ps))
|
if(dtim & ((IEEE80211_DTIM_UCAST | IEEE80211_DTIM_MBCAST)& ieee->ps))
|
||||||
|
|
Loading…
Reference in New Issue