staging: rtl8192u: ieee80211: ieee80211_rx.c fix checkpatch space prohibited before that '++'
Fix the following errors: space prohibited before that '++' (ctx:WxO) Signed-off-by: Abdul Rauf <abdulraufmujahid@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0a20a61465
commit
298291bb0d
|
@ -110,12 +110,12 @@ ieee80211_frag_cache_get(struct ieee80211_device *ieee,
|
||||||
hdr_4addrqos = (struct rtl_80211_hdr_4addrqos *)hdr;
|
hdr_4addrqos = (struct rtl_80211_hdr_4addrqos *)hdr;
|
||||||
tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
||||||
tid = UP2AC(tid);
|
tid = UP2AC(tid);
|
||||||
tid ++;
|
tid++;
|
||||||
} else if (IEEE80211_QOS_HAS_SEQ(fc)) {
|
} else if (IEEE80211_QOS_HAS_SEQ(fc)) {
|
||||||
hdr_3addrqos = (struct rtl_80211_hdr_3addrqos *)hdr;
|
hdr_3addrqos = (struct rtl_80211_hdr_3addrqos *)hdr;
|
||||||
tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
||||||
tid = UP2AC(tid);
|
tid = UP2AC(tid);
|
||||||
tid ++;
|
tid++;
|
||||||
} else {
|
} else {
|
||||||
tid = 0;
|
tid = 0;
|
||||||
}
|
}
|
||||||
|
@ -177,12 +177,12 @@ static int ieee80211_frag_cache_invalidate(struct ieee80211_device *ieee,
|
||||||
hdr_4addrqos = (struct rtl_80211_hdr_4addrqos *)hdr;
|
hdr_4addrqos = (struct rtl_80211_hdr_4addrqos *)hdr;
|
||||||
tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
||||||
tid = UP2AC(tid);
|
tid = UP2AC(tid);
|
||||||
tid ++;
|
tid++;
|
||||||
} else if (IEEE80211_QOS_HAS_SEQ(fc)) {
|
} else if (IEEE80211_QOS_HAS_SEQ(fc)) {
|
||||||
hdr_3addrqos = (struct rtl_80211_hdr_3addrqos *)hdr;
|
hdr_3addrqos = (struct rtl_80211_hdr_3addrqos *)hdr;
|
||||||
tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
||||||
tid = UP2AC(tid);
|
tid = UP2AC(tid);
|
||||||
tid ++;
|
tid++;
|
||||||
} else {
|
} else {
|
||||||
tid = 0;
|
tid = 0;
|
||||||
}
|
}
|
||||||
|
@ -434,12 +434,12 @@ static int is_duplicate_packet(struct ieee80211_device *ieee,
|
||||||
hdr_4addrqos = (struct rtl_80211_hdr_4addrqos *)header;
|
hdr_4addrqos = (struct rtl_80211_hdr_4addrqos *)header;
|
||||||
tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
||||||
tid = UP2AC(tid);
|
tid = UP2AC(tid);
|
||||||
tid ++;
|
tid++;
|
||||||
} else if(IEEE80211_QOS_HAS_SEQ(fc)) { //QoS
|
} else if(IEEE80211_QOS_HAS_SEQ(fc)) { //QoS
|
||||||
hdr_3addrqos = (struct rtl_80211_hdr_3addrqos *)header;
|
hdr_3addrqos = (struct rtl_80211_hdr_3addrqos *)header;
|
||||||
tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID;
|
||||||
tid = UP2AC(tid);
|
tid = UP2AC(tid);
|
||||||
tid ++;
|
tid++;
|
||||||
} else { // no QoS
|
} else { // no QoS
|
||||||
tid = 0;
|
tid = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue