| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Datapath implementation for ST-Ericsson CW1200 mac80211 drivers |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2010, ST-Ericsson |
|---|
| 5 | 6 | * 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. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | |
|---|
| 12 | 9 | #include <net/mac80211.h> |
|---|
| .. | .. |
|---|
| 624 | 621 | priority = WSM_EPTA_PRIORITY_ACTION; |
|---|
| 625 | 622 | else if (ieee80211_is_mgmt(t->hdr->frame_control)) |
|---|
| 626 | 623 | priority = WSM_EPTA_PRIORITY_MGT; |
|---|
| 627 | | - else if ((wsm->queue_id == WSM_QUEUE_VOICE)) |
|---|
| 624 | + else if (wsm->queue_id == WSM_QUEUE_VOICE) |
|---|
| 628 | 625 | priority = WSM_EPTA_PRIORITY_VOICE; |
|---|
| 629 | | - else if ((wsm->queue_id == WSM_QUEUE_VIDEO)) |
|---|
| 626 | + else if (wsm->queue_id == WSM_QUEUE_VIDEO) |
|---|
| 630 | 627 | priority = WSM_EPTA_PRIORITY_VIDEO; |
|---|
| 631 | 628 | else |
|---|
| 632 | 629 | priority = WSM_EPTA_PRIORITY_DATA; |
|---|
| .. | .. |
|---|
| 718 | 715 | }; |
|---|
| 719 | 716 | struct ieee80211_sta *sta; |
|---|
| 720 | 717 | struct wsm_tx *wsm; |
|---|
| 721 | | - bool tid_update = 0; |
|---|
| 718 | + bool tid_update = false; |
|---|
| 722 | 719 | u8 flags = 0; |
|---|
| 723 | 720 | int ret; |
|---|
| 724 | 721 | |
|---|