ath5k: drop bogus warning on drv_set_key with unsupported cipher
authorFelix Fietkau <nbd@nbd.name>
Wed, 11 Jan 2017 14:32:13 +0000 (16:32 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 12 Jan 2017 10:56:37 +0000 (12:56 +0200)
commita70e1d6fd6b5e1a81fa6171600942bee34f5128f
treed74d109466a81404abf9d9baf228a2873f645855
parentb59eb96181e7fe4abe844985362882aeb39a0593
ath5k: drop bogus warning on drv_set_key with unsupported cipher

Simply return -EOPNOTSUPP instead.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath5k/mac80211-ops.c