mirror of https://gitee.com/openkylin/linux.git
[PATCH] softmac: some comment stuff
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
bba52d5e9e
commit
b2b9b6518e
|
@ -77,7 +77,7 @@ ieee80211softmac_clear_pending_work(struct ieee80211softmac_device *sm)
|
||||||
spin_unlock_irqrestore(&sm->lock, flags);
|
spin_unlock_irqrestore(&sm->lock, flags);
|
||||||
flush_scheduled_work();
|
flush_scheduled_work();
|
||||||
|
|
||||||
// now we should be save and no longer need locking...
|
/* now we should be save and no longer need locking... */
|
||||||
spin_lock_irqsave(&sm->lock, flags);
|
spin_lock_irqsave(&sm->lock, flags);
|
||||||
/* Free all pending auth work items */
|
/* Free all pending auth work items */
|
||||||
list_for_each_entry_safe(authptr, authtmp, &sm->auth_queue, list) {
|
list_for_each_entry_safe(authptr, authtmp, &sm->auth_queue, list) {
|
||||||
|
|
|
@ -84,7 +84,6 @@ void ieee80211softmac_scan(void *d)
|
||||||
|
|
||||||
if (!invalid_channel) {
|
if (!invalid_channel) {
|
||||||
sm->set_channel(sm->dev, si->channels[current_channel_idx].channel);
|
sm->set_channel(sm->dev, si->channels[current_channel_idx].channel);
|
||||||
//TODO: Probe the channel
|
|
||||||
// FIXME make this user configurable (active/passive)
|
// FIXME make this user configurable (active/passive)
|
||||||
if(ieee80211softmac_send_mgt_frame(sm, NULL, IEEE80211_STYPE_PROBE_REQ, 0))
|
if(ieee80211softmac_send_mgt_frame(sm, NULL, IEEE80211_STYPE_PROBE_REQ, 0))
|
||||||
printkl(KERN_DEBUG PFX "Sending Probe Request Failed\n");
|
printkl(KERN_DEBUG PFX "Sending Probe Request Failed\n");
|
||||||
|
|
Loading…
Reference in New Issue