rtw88: wow: print key type when failing

It's much easier to spot what went wrong when you print out the
unhandled key type.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201112181432.2958021-1-briannorris@chromium.org
This commit is contained in:
Brian Norris 2020-11-12 10:14:32 -08:00 committed by Kalle Valo
parent 362c4a5cc8
commit 8d201d368a
1 changed files with 2 additions and 1 deletions

View File

@ -332,7 +332,8 @@ static void rtw_wow_fw_security_type_iter(struct ieee80211_hw *hw,
key->flags |= IEEE80211_KEY_FLAG_SW_MGMT_TX;
break;
default:
rtw_err(rtwdev, "Unsupported key type for wowlan mode\n");
rtw_err(rtwdev, "Unsupported key type for wowlan mode: %#x\n",
key->cipher);
hw_key_type = 0;
break;
}