mac80211: minor code cleanups
Nothing very interesting, some checkpatch inspired stuff, some other things. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
36ff382d00
commit
c6a1fa12d2
@@ -137,7 +137,7 @@ static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf,
|
||||
p += scnprintf(p, sizeof(buf)+buf-p, "\n DTKN:");
|
||||
for (i = 0; i < STA_TID_NUM; i++)
|
||||
p += scnprintf(p, sizeof(buf)+buf-p, "%5d",
|
||||
sta->ampdu_mlme.tid_state_rx[i]?
|
||||
sta->ampdu_mlme.tid_state_rx[i] ?
|
||||
sta->ampdu_mlme.tid_rx[i]->dialog_token : 0);
|
||||
|
||||
p += scnprintf(p, sizeof(buf)+buf-p, "\n TX :");
|
||||
@@ -148,13 +148,13 @@ static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf,
|
||||
p += scnprintf(p, sizeof(buf)+buf-p, "\n DTKN:");
|
||||
for (i = 0; i < STA_TID_NUM; i++)
|
||||
p += scnprintf(p, sizeof(buf)+buf-p, "%5d",
|
||||
sta->ampdu_mlme.tid_state_tx[i]?
|
||||
sta->ampdu_mlme.tid_state_tx[i] ?
|
||||
sta->ampdu_mlme.tid_tx[i]->dialog_token : 0);
|
||||
|
||||
p += scnprintf(p, sizeof(buf)+buf-p, "\n SSN :");
|
||||
for (i = 0; i < STA_TID_NUM; i++)
|
||||
p += scnprintf(p, sizeof(buf)+buf-p, "%5d",
|
||||
sta->ampdu_mlme.tid_state_tx[i]?
|
||||
sta->ampdu_mlme.tid_state_tx[i] ?
|
||||
sta->ampdu_mlme.tid_tx[i]->ssn : 0);
|
||||
|
||||
p += scnprintf(p, sizeof(buf)+buf-p, "\n");
|
||||
|
Reference in New Issue
Block a user