Skip to content

Commit

Permalink
staging: rtl819su: ieee80211_associate_procedure_wq() update
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Florian Schilhabel authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent 67db393 commit 26cc715
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/staging/rtl8192su/ieee80211/ieee80211_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1407,6 +1407,12 @@ void ieee80211_associate_procedure_wq(struct work_struct *work)
//ieee->set_chan(ieee->dev, ieee->current_network.channel);
HTSetConnectBwMode(ieee, HT_CHANNEL_WIDTH_20, HT_EXTCHNL_OFFSET_NO_EXT);

if(ieee->eRFPowerState == eRfOff)
{
printk("=============>%s():Rf state is eRfOff, schedule ipsleave wq again,return\n",__FUNCTION__);
up(&ieee->wx_sem);
return;
}
ieee->associate_seq = 1;
ieee80211_associate_step1(ieee);

Expand Down

0 comments on commit 26cc715

Please sign in to comment.