mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
ath5k: drop bogus warning on drv_set_key with unsupported cipher
am: 93c1f1db1a
Change-Id: If7f4b650f817cdb97b849a9006971e4d98d9ff6e
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