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)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 5 Jun 2017 20:13:41 +0000 (21:13 +0100)
commit89e3b544dbd620c5a5bc9d7f4a4496ce704b4378
tree3823da109795ef2741fb4b83eb8136b953dc5b77
parent1a433156f99f811773a3811da5c394e3ba6ad4e3
ath5k: drop bogus warning on drv_set_key with unsupported cipher

commit a70e1d6fd6b5e1a81fa6171600942bee34f5128f upstream.

Simply return -EOPNOTSUPP instead.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/wireless/ath/ath5k/mac80211-ops.c