summaryrefslogtreecommitdiffstats
path: root/net/ieee80211
diff options
context:
space:
mode:
authorJohannes Berg2006-01-11 19:32:02 +0100
committerJohn W. Linville2006-03-23 04:16:56 +0100
commitb2b9b6518eac7b4e9abf649ef4273c02f1a5276b (patch)
treea19f6b1e674bc159d5523ce12c3ddabe72b745e6 /net/ieee80211
parent[PATCH] softmac: properly check return value of ieee80211softmac_alloc_mgt (diff)
downloadkernel-qcow2-linux-b2b9b6518eac7b4e9abf649ef4273c02f1a5276b.tar.gz
kernel-qcow2-linux-b2b9b6518eac7b4e9abf649ef4273c02f1a5276b.tar.xz
kernel-qcow2-linux-b2b9b6518eac7b4e9abf649ef4273c02f1a5276b.zip
[PATCH] softmac: some comment stuff
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211')
-rw-r--r--net/ieee80211/softmac/ieee80211softmac_module.c2
-rw-r--r--net/ieee80211/softmac/ieee80211softmac_scan.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_module.c b/net/ieee80211/softmac/ieee80211softmac_module.c
index ea4a19e1122c..a5699966fbc5 100644
--- a/net/ieee80211/softmac/ieee80211softmac_module.c
+++ b/net/ieee80211/softmac/ieee80211softmac_module.c
@@ -77,7 +77,7 @@ ieee80211softmac_clear_pending_work(struct ieee80211softmac_device *sm)
spin_unlock_irqrestore(&sm->lock, flags);
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);
/* Free all pending auth work items */
list_for_each_entry_safe(authptr, authtmp, &sm->auth_queue, list) {
diff --git a/net/ieee80211/softmac/ieee80211softmac_scan.c b/net/ieee80211/softmac/ieee80211softmac_scan.c
index 1a1eda434cfd..30e79d45af6b 100644
--- a/net/ieee80211/softmac/ieee80211softmac_scan.c
+++ b/net/ieee80211/softmac/ieee80211softmac_scan.c
@@ -84,7 +84,6 @@ void ieee80211softmac_scan(void *d)
if (!invalid_channel) {
sm->set_channel(sm->dev, si->channels[current_channel_idx].channel);
- //TODO: Probe the channel
// FIXME make this user configurable (active/passive)
if(ieee80211softmac_send_mgt_frame(sm, NULL, IEEE80211_STYPE_PROBE_REQ, 0))
printkl(KERN_DEBUG PFX "Sending Probe Request Failed\n");