projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1061787
)
rtl8180: Fix to add STA mode
author
Larry Finger
<
[email protected]
>
Sun, 21 Dec 2008 21:40:33 +0000
(15:40 -0600)
committer
John W. Linville
<
[email protected]
>
Mon, 12 Jan 2009 19:24:53 +0000
(14:24 -0500)
To be compatible with mac80211 following "mac80211: only create
default STA interface if supported", rtl8180 needs to set
NL80211_IFTYPE_STATION in interface_modes.
Signed-off-by: Larry Finger <
[email protected]
>
Reported-by: Fabio Rossi <
[email protected]
>
Tested-by: Piter PUNK <
[email protected]
>
Acked-by: Johannes Berg <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/rtl818x/rtl8180_dev.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rtl818x/rtl8180_dev.c
b/drivers/net/wireless/rtl818x/rtl8180_dev.c
index 5f887fb137a9c0d4e95b2fd926e517fb479b4dae..387c133ec0f2629413da721c09fdc3253326c359 100644
(file)
--- a/
drivers/net/wireless/rtl818x/rtl8180_dev.c
+++ b/
drivers/net/wireless/rtl818x/rtl8180_dev.c
@@
-897,6
+897,7
@@
static int __devinit rtl8180_probe(struct pci_dev *pdev,
dev->flags = IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
IEEE80211_HW_RX_INCLUDES_FCS |
IEEE80211_HW_SIGNAL_UNSPEC;
+ dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION);
dev->queues = 1;
dev->max_signal = 65;