aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2012-10-22 10:36:19 -0700
committerJohn W. Linville <linville@tuxdriver.com>2012-10-29 15:28:22 -0400
commit1d4fd8d78f465cebe2502671588f75ba2f758cfa (patch)
tree7269d4d4cfd8e074462f76305e2bf35309c2c7ff /drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c
parentbrcmfmac: clean usb download code. (diff)
downloadlinux-dev-1d4fd8d78f465cebe2502671588f75ba2f758cfa.tar.xz
linux-dev-1d4fd8d78f465cebe2502671588f75ba2f758cfa.zip
brcmfmac: extend struct brcmf_if with bssidx field
When the firmware notifies the driver about adding a new interface it also provides an index for the bss associated with this interface. This index will be needed for upcoming features like peer-to-peer. By adding this index in struct brcmf_if it is easy to obtain as this will be associated with the net_device private data. Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Franky Lin <frankyl@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c
index fa08058aadaa..862d2acb7a16 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c
@@ -16,6 +16,7 @@
#include <linux/debugfs.h>
#include <linux/if_ether.h>
#include <linux/if.h>
+#include <linux/netdevice.h>
#include <linux/ieee80211.h>
#include <linux/module.h>
#include <linux/netdevice.h>