diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-21 20:05:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-21 20:05:11 -0500 |
commit | 6c0bce37ffc8f000a516fadf6dee84579c4c8f9b (patch) | |
tree | 273af34d6f777b1ecb0fce7b2685e868064e6cf9 /drivers/net/wireless/mac80211_hwsim.c | |
parent | e243455d345ef62751723671bc2605a2f6032ceb (diff) | |
parent | a1eb5fe319beb9e181aa52c8adf75ad9aab56a89 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index b9230da925ee..d8b5cf389405 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -368,7 +368,8 @@ static void mac80211_hwsim_beacon_tx(void *arg, u8 *mac, | |||
368 | 368 | ||
369 | hwsim_check_magic(vif); | 369 | hwsim_check_magic(vif); |
370 | 370 | ||
371 | if (vif->type != NL80211_IFTYPE_AP) | 371 | if (vif->type != NL80211_IFTYPE_AP && |
372 | vif->type != NL80211_IFTYPE_MESH_POINT) | ||
372 | return; | 373 | return; |
373 | 374 | ||
374 | skb = ieee80211_beacon_get(hw, vif); | 375 | skb = ieee80211_beacon_get(hw, vif); |
@@ -774,7 +775,8 @@ static int __init init_mac80211_hwsim(void) | |||
774 | hw->queues = 4; | 775 | hw->queues = 4; |
775 | hw->wiphy->interface_modes = | 776 | hw->wiphy->interface_modes = |
776 | BIT(NL80211_IFTYPE_STATION) | | 777 | BIT(NL80211_IFTYPE_STATION) | |
777 | BIT(NL80211_IFTYPE_AP); | 778 | BIT(NL80211_IFTYPE_AP) | |
779 | BIT(NL80211_IFTYPE_MESH_POINT); | ||
778 | hw->ampdu_queues = 1; | 780 | hw->ampdu_queues = 1; |
779 | 781 | ||
780 | /* ask mac80211 to reserve space for magic */ | 782 | /* ask mac80211 to reserve space for magic */ |