Message ID | 20201112181432.2958021-1-briannorris@chromium.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 8d201d368aaa2b90a364cbd351a4e5f52b49cd55 |
Delegated to: | Kalle Valo |
Headers | show |
Series | rtw88: wow: print key type when failing | expand |
Brian Norris <briannorris@chromium.org> wrote: > 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> Patch applied to wireless-drivers-next.git, thanks. 8d201d368aaa rtw88: wow: print key type when failing
diff --git a/drivers/net/wireless/realtek/rtw88/wow.c b/drivers/net/wireless/realtek/rtw88/wow.c index b419bc28861f..fc9544f4e5e4 100644 --- a/drivers/net/wireless/realtek/rtw88/wow.c +++ b/drivers/net/wireless/realtek/rtw88/wow.c @@ -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; }
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> --- drivers/net/wireless/realtek/rtw88/wow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)