mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
ath5k: drop bogus warning on drv_set_key with unsupported cipher
am: dc7bbf895e
Change-Id: I2c600fe8403bb76a3417d33eee4c27cb0a7d57fc
This commit is contained in:
@@ -502,8 +502,7 @@ ath5k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
|
||||
break;
|
||||
return -EOPNOTSUPP;
|
||||
default:
|
||||
WARN_ON(1);
|
||||
return -EINVAL;
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
mutex_lock(&ah->lock);
|
||||
|
||||
Reference in New Issue
Block a user