Commit 6df74f61 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Kalle Valo
Browse files

carl9170: Use fallthrough pseudo-keyword

parent fd0a0909
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -766,7 +766,7 @@ static void carl9170_rx_untie_data(struct ar9170 *ar, u8 *buf, int len)

			goto drop;
		}
		/* fall through */
		fallthrough;

	case AR9170_RX_STATUS_MPDU_MIDDLE:
		/*  These are just data + mac status */
+3 −3
Original line number Diff line number Diff line
@@ -830,12 +830,12 @@ static bool carl9170_tx_rts_check(struct ar9170 *ar,
	case CARL9170_ERP_AUTO:
		if (ampdu)
			break;
		/* fall through */
		fallthrough;

	case CARL9170_ERP_MAC80211:
		if (!(rate->flags & IEEE80211_TX_RC_USE_RTS_CTS))
			break;
		/* fall through */
		fallthrough;

	case CARL9170_ERP_RTS:
		if (likely(!multi))
@@ -856,7 +856,7 @@ static bool carl9170_tx_cts_check(struct ar9170 *ar,
	case CARL9170_ERP_MAC80211:
		if (!(rate->flags & IEEE80211_TX_RC_USE_CTS_PROTECT))
			break;
		/* fall through */
		fallthrough;

	case CARL9170_ERP_CTS:
		return true;