mirror of https://gitee.com/openkylin/linux.git
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:
parent
362c4a5cc8
commit
8d201d368a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue