ath10k: return better errno for unsupported pdev params
authorBartosz Markowski <bartosz.markowski@tieto.com>
Tue, 15 Oct 2013 07:55:32 +0000 (09:55 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 16 Oct 2013 08:52:06 +0000 (11:52 +0300)
commitd544943afa678ffe06de295b5420f060389edfc9
treef930b7ffca739f963bb83bf6bd97804321d07a41
parent34957b25e39bbdcfd902f27ae719b8ff50c751f8
ath10k: return better errno for unsupported pdev params

Return -EOPNOTSUPP if given parameter is not supported by firmware.

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c