Skip to content

Commit 5f07d15

Browse files
andy-shevlinvjw
authored andcommitted
mwifiex: dump small buffers with help of %*ph
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent acba7bb commit 5f07d15

File tree

1 file changed

+2
-3
lines changed
  • drivers/net/wireless/mwifiex

1 file changed

+2
-3
lines changed

drivers/net/wireless/mwifiex/join.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -919,9 +919,8 @@ mwifiex_cmd_802_11_ad_hoc_start(struct mwifiex_private *priv,
919919
memcpy(&priv->curr_bss_params.data_rates,
920920
&adhoc_start->data_rate, priv->curr_bss_params.num_of_rates);
921921

922-
dev_dbg(adapter->dev, "info: ADHOC_S_CMD: rates=%02x %02x %02x %02x\n",
923-
adhoc_start->data_rate[0], adhoc_start->data_rate[1],
924-
adhoc_start->data_rate[2], adhoc_start->data_rate[3]);
922+
dev_dbg(adapter->dev, "info: ADHOC_S_CMD: rates=%4ph\n",
923+
adhoc_start->data_rate);
925924

926925
dev_dbg(adapter->dev, "info: ADHOC_S_CMD: AD-HOC Start command is ready\n");
927926

0 commit comments

Comments
 (0)