Commit 8fdd1578 authored by Arend van Spriel's avatar Arend van Spriel Committed by John W. Linville

brcmfmac: add role attribute to struct brcmf_if_event definition

According specification the IF event has an additional field indicating
the role or type of the interface for which this event is sent.
Reviewed-by: default avatarPiotr Haber <phaber@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 40c1c249
...@@ -548,6 +548,7 @@ struct brcmf_if_event { ...@@ -548,6 +548,7 @@ struct brcmf_if_event {
u8 action; u8 action;
u8 flags; u8 flags;
u8 bssidx; u8 bssidx;
u8 role;
}; };
/* forward declarations */ /* forward declarations */
......
...@@ -181,9 +181,9 @@ static void brcmf_fweh_handle_if_event(struct brcmf_pub *drvr, ...@@ -181,9 +181,9 @@ static void brcmf_fweh_handle_if_event(struct brcmf_pub *drvr,
struct brcmf_if *ifp; struct brcmf_if *ifp;
int err = 0; int err = 0;
brcmf_dbg(EVENT, "action: %u idx: %u bsscfg: %u flags: %u\n", brcmf_dbg(EVENT, "action: %u idx: %u bsscfg: %u flags: %u role: %u\n",
ifevent->action, ifevent->ifidx, ifevent->action, ifevent->ifidx, ifevent->bssidx,
ifevent->bssidx, ifevent->flags); ifevent->flags, ifevent->role);
if (ifevent->ifidx >= BRCMF_MAX_IFS) { if (ifevent->ifidx >= BRCMF_MAX_IFS) {
brcmf_err("invalid interface index: %u\n", brcmf_err("invalid interface index: %u\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment