]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: rtw89: fw: correct debug message format in rtw89_build_txpwr_trk_tbl_from_elm()
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 27 Feb 2025 13:12:27 +0000 (21:12 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Wed, 5 Mar 2025 11:46:40 +0000 (19:46 +0800)
The format should be "%08x". Fix the mistakes.

Fixes: d60e73e5dd70 ("wifi: rtw89: fw: load TX power track tables from fw_element")
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250227131228.8457-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c

index 1965a62746c2fd859bc7a28c4513175e186788d5..15d6bda1fcf0089fa97cf4bd5a6150ac6ae30341 100644 (file)
@@ -1099,7 +1099,7 @@ int rtw89_build_txpwr_trk_tbl_from_elm(struct rtw89_dev *rtwdev,
        bitmap = le32_to_cpu(elm->u.txpwr_trk.bitmap);
 
        if ((bitmap & needed_bitmap) != needed_bitmap) {
-               rtw89_warn(rtwdev, "needed txpwr trk bitmap %08x but %0x8x\n",
+               rtw89_warn(rtwdev, "needed txpwr trk bitmap %08x but %08x\n",
                           needed_bitmap, bitmap);
                return -ENOENT;
        }