projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9c52fd
)
ath6kl: Remove unnecessary parentheses
author
Varsha Rao
<rvarsha016@gmail.com>
Wed, 25 Jul 2018 18:49:48 +0000
(20:49 +0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 28 Aug 2018 13:46:25 +0000
(16:46 +0300)
Remove extra parentheses to fix the clang warning of extraneous
parentheses.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath6kl/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath6kl/main.c
b/drivers/net/wireless/ath/ath6kl/main.c
index 0c61dbaa62a410529dcba1d49f0ade9c90012622..cb59016c723b47f96c325f5fd5caea89d23d093a 100644
(file)
--- a/
drivers/net/wireless/ath/ath6kl/main.c
+++ b/
drivers/net/wireless/ath/ath6kl/main.c
@@
-638,7
+638,7
@@
void ath6kl_connect_event(struct ath6kl_vif *vif, u16 channel, u8 *bssid,
memcpy(vif->bssid, bssid, sizeof(vif->bssid));
vif->bss_ch = channel;
- if (
(vif->nw_type == INFRA_NETWORK)
) {
+ if (
vif->nw_type == INFRA_NETWORK
) {
ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx,
vif->listen_intvl_t, 0);
ath6kl_check_ch_switch(ar, channel);