Fix implicit-fallthrough warnings with explicit fallthrough
statement.
Change-Id: Iebca5d6c71af8c3e1611e78539b12cf9a2911d57
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
if (rfctl->txpwr_lmt_name)
break;
/* fall through */
+ fallthrough;
default:
rfctl->txpwr_lmt_name = txpwr_lmt_str(TXPWR_LMT_WW);
RTW_PRINT("assign %s for default case\n", txpwr_lmt_str(TXPWR_LMT_WW));
ptable->func = &OnAuth;
else
ptable->func = &OnAuthClient;
- /* fall through */
+ /* fall through */
+ fallthrough;
case WIFI_ASSOCREQ:
- /* fall through */
+ /* fall through */
+ fallthrough;
case WIFI_REASSOCREQ:
_mgt_dispatcher(padapter, ptable, precv_frame);
#ifdef CONFIG_HOSTAPD_MLME
sub_id = payload[0];
/* no handle, goto default */
/* fall through */
+ fallthrough;
default:
if (phydm_c2H_content_parsing(adapter_to_phydm(adapter), id, plen, payload) != TRUE)
case NL80211_CHAN_WIDTH_20_NOHT:
*ht = 0;
/* fall through */
+ fallthrough;
case NL80211_CHAN_WIDTH_20:
*bw = CHANNEL_WIDTH_20;
*offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE;