Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c9bb054 authored by Kalle Valo's avatar Kalle Valo
Browse files

ath6kl: fix open paranthesis alignment in ath6kl_cfg80211_connect()



ath6kl/cfg80211.c:462: CHECK: Alignment should match open parenthesis

Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 1ca4d0b6
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -416,6 +416,12 @@ static bool ath6kl_is_valid_iftype(struct ath6kl *ar, enum nl80211_iftype type,
	return false;
}

static bool ath6kl_is_tx_pending(struct ath6kl *ar)
{
	return ar->tx_pending[ath6kl_wmi_get_control_ep(ar->wmi)] == 0;
}


static int ath6kl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev,
				   struct cfg80211_connect_params *sme)
{
@@ -460,7 +466,7 @@ static int ath6kl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev,
		 * sleep until the command queue drains
		 */
		wait_event_interruptible_timeout(ar->event_wq,
			ar->tx_pending[ath6kl_wmi_get_control_ep(ar->wmi)] == 0,
						 ath6kl_is_tx_pending(ar),
						 WMI_TIMEOUT);
		if (signal_pending(current)) {
			ath6kl_err("cmd queue drain timeout\n");