diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-03-07 13:04:00 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-03-07 13:04:00 -0500 |
commit | 8c9bb054f866cefd54bf7d551bf69a1ab3ff2089 (patch) | |
tree | c04fbf1d19c45614de220de93afc3b29db008505 | |
parent | 1ca4d0b6b903125b86df0586e5cb3db0b6674bb7 (diff) |
ath6kl: fix open paranthesis alignment in ath6kl_cfg80211_connect()
ath6kl/cfg80211.c:462: CHECK: Alignment should match open parenthesis
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/cfg80211.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c index 9b87e6bf6c27..37908e60e863 100644 --- a/drivers/net/wireless/ath/ath6kl/cfg80211.c +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c | |||
@@ -416,6 +416,12 @@ static bool ath6kl_is_valid_iftype(struct ath6kl *ar, enum nl80211_iftype type, | |||
416 | return false; | 416 | return false; |
417 | } | 417 | } |
418 | 418 | ||
419 | static bool ath6kl_is_tx_pending(struct ath6kl *ar) | ||
420 | { | ||
421 | return ar->tx_pending[ath6kl_wmi_get_control_ep(ar->wmi)] == 0; | ||
422 | } | ||
423 | |||
424 | |||
419 | static int ath6kl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, | 425 | static int ath6kl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, |
420 | struct cfg80211_connect_params *sme) | 426 | struct cfg80211_connect_params *sme) |
421 | { | 427 | { |
@@ -460,8 +466,8 @@ static int ath6kl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, | |||
460 | * sleep until the command queue drains | 466 | * sleep until the command queue drains |
461 | */ | 467 | */ |
462 | wait_event_interruptible_timeout(ar->event_wq, | 468 | wait_event_interruptible_timeout(ar->event_wq, |
463 | ar->tx_pending[ath6kl_wmi_get_control_ep(ar->wmi)] == 0, | 469 | ath6kl_is_tx_pending(ar), |
464 | WMI_TIMEOUT); | 470 | WMI_TIMEOUT); |
465 | if (signal_pending(current)) { | 471 | if (signal_pending(current)) { |
466 | ath6kl_err("cmd queue drain timeout\n"); | 472 | ath6kl_err("cmd queue drain timeout\n"); |
467 | up(&ar->sem); | 473 | up(&ar->sem); |