From: Karthikeyan Periyasamy <periyasa@codeaurora.org>
To: Kalle Valo <kvalo@codeaurora.org>
Cc: ath11k@lists.infradead.org
Subject: Re: [PATCH] ath11k: Cleanup the access code of hw mac_id mapping
Date: Wed, 12 Jun 2019 14:33:46 +0530 [thread overview]
Message-ID: <71aab85285e9b78a1a56b33a219c7be1@codeaurora.org> (raw)
In-Reply-To: <87o933fcpe.fsf@kamboji.qca.qualcomm.com>
>
> I simplified this function to:
>
> u8 ath11k_core_get_hw_mac_id(struct ath11k_base *ab, int pdev_idx)
> {
> switch (pdev_idx) {
> case 0:
> return 0;
> case 1:
> return 2;
> case 2:
> return 1;
> default:
> ath11k_warn(ab, "Invalid pdev idx %d\n", pdev_idx);
> return ATH11K_INVALID_HW_MAC_ID;
> }
> }
Look fine to me
Thanks,
Karthikeyan
_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
next prev parent reply other threads:[~2019-06-12 9:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-10 9:43 [PATCH] ath11k: Cleanup the access code of hw mac_id mapping Karthikeyan Periyasamy
2019-06-12 8:08 ` Kalle Valo
2019-06-12 9:03 ` Karthikeyan Periyasamy [this message]
2019-06-12 11:12 ` Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=71aab85285e9b78a1a56b33a219c7be1@codeaurora.org \
--to=periyasa@codeaurora.org \
--cc=ath11k@lists.infradead.org \
--cc=kvalo@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.