ath10k: consolidate if statements in ath10k_wmi_event_mgmt_rx
authorManikanta Pubbisetty <manikanta.pubbisetty@gmail.com>
Tue, 20 Oct 2015 06:41:40 +0000 (12:11 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 4 Nov 2015 17:28:24 +0000 (19:28 +0200)
commit2c9bceced3a7105665488085072bb7979cdc5257
treedd8ba668da978a2674fe20250872466d3cdaf397
parent13eff5311382cb109725363026cdb4717714bf65
ath10k: consolidate if statements in ath10k_wmi_event_mgmt_rx

This patch replaces multiple if conditional checks with a single if condition
in WMI management rx handler. Found during code review.

Signed-off-by: Manikanta Pubbisetty <manikanta.pubbisetty@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c