forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/net/wireless/st/cw1200/txrx.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Datapath implementation for ST-Ericsson CW1200 mac80211 drivers
34 *
45 * Copyright (c) 2010, ST-Ericsson
56 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
118
129 #include <net/mac80211.h>
....@@ -624,9 +621,9 @@
624621 priority = WSM_EPTA_PRIORITY_ACTION;
625622 else if (ieee80211_is_mgmt(t->hdr->frame_control))
626623 priority = WSM_EPTA_PRIORITY_MGT;
627
- else if ((wsm->queue_id == WSM_QUEUE_VOICE))
624
+ else if (wsm->queue_id == WSM_QUEUE_VOICE)
628625 priority = WSM_EPTA_PRIORITY_VOICE;
629
- else if ((wsm->queue_id == WSM_QUEUE_VIDEO))
626
+ else if (wsm->queue_id == WSM_QUEUE_VIDEO)
630627 priority = WSM_EPTA_PRIORITY_VIDEO;
631628 else
632629 priority = WSM_EPTA_PRIORITY_DATA;
....@@ -718,7 +715,7 @@
718715 };
719716 struct ieee80211_sta *sta;
720717 struct wsm_tx *wsm;
721
- bool tid_update = 0;
718
+ bool tid_update = false;
722719 u8 flags = 0;
723720 int ret;
724721