Skip to content
Commit 5282c3ba authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: verify ieee80211_key_replace() arguments



There's no code calling ieee80211_key_replace() with both
arguments NULL and it wouldn't make sense, but in the
interest of maintainability add a warning for it. As a
side effect, this also shuts up a smatch warning.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 00c3a6ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment