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:
8964e49
)
wl1251: enable adhoc mode
author
David Gnedt
<
[email protected]
>
Sun, 30 Jan 2011 19:11:04 +0000
(20:11 +0100)
committer
John W. Linville
<
[email protected]
>
Thu, 3 Feb 2011 21:44:42 +0000
(16:44 -0500)
Enable adhoc support in wl1251 driver.
Signed-off-by: David Gnedt <
[email protected]
>
Acked-by: Kalle Valo <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/wl1251/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/wl1251/main.c
b/drivers/net/wireless/wl1251/main.c
index 0325643b70731b2b87da3e87ab1e47e1dbb90491..1c8b0775d8496b6df8594c25128c7d7dfac5e2a1 100644
(file)
--- a/
drivers/net/wireless/wl1251/main.c
+++ b/
drivers/net/wireless/wl1251/main.c
@@
-1324,7
+1324,8
@@
int wl1251_init_ieee80211(struct wl1251 *wl)
IEEE80211_HW_SUPPORTS_UAPSD |
IEEE80211_HW_SUPPORTS_CQM_RSSI;
- wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION);
+ wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
+ BIT(NL80211_IFTYPE_ADHOC);
wl->hw->wiphy->max_scan_ssids = 1;
wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wl1251_band_2ghz;