diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-16 21:25:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-16 21:25:48 -0400 |
commit | caea902f72b053fd0c76d0d3b6b2e057beb3fc64 (patch) | |
tree | 74e8d476b2c51480420e2ef7c9bbae249b6edbc9 /net/mac80211 | |
parent | 0b4419162aa6c4204843f3a13b48d9ab821d3167 (diff) | |
parent | 65c3e4715b1b934f8dcc002d9f46b4371ca7a9b1 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/wireless/rt2x00/Kconfig
drivers/net/wireless/rt2x00/rt2x00usb.c
net/sctp/protocol.c
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/wext.c | 3 | ||||
-rw-r--r-- | net/mac80211/wme.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/wext.c b/net/mac80211/wext.c index 4806d96b9877..5af3862e7191 100644 --- a/net/mac80211/wext.c +++ b/net/mac80211/wext.c | |||
@@ -508,7 +508,8 @@ static int ieee80211_ioctl_giwap(struct net_device *dev, | |||
508 | sdata = IEEE80211_DEV_TO_SUB_IF(dev); | 508 | sdata = IEEE80211_DEV_TO_SUB_IF(dev); |
509 | if (sdata->vif.type == IEEE80211_IF_TYPE_STA || | 509 | if (sdata->vif.type == IEEE80211_IF_TYPE_STA || |
510 | sdata->vif.type == IEEE80211_IF_TYPE_IBSS) { | 510 | sdata->vif.type == IEEE80211_IF_TYPE_IBSS) { |
511 | if (sdata->u.sta.state == IEEE80211_ASSOCIATED) { | 511 | if (sdata->u.sta.state == IEEE80211_ASSOCIATED || |
512 | sdata->u.sta.state == IEEE80211_IBSS_JOINED) { | ||
512 | ap_addr->sa_family = ARPHRD_ETHER; | 513 | ap_addr->sa_family = ARPHRD_ETHER; |
513 | memcpy(&ap_addr->sa_data, sdata->u.sta.bssid, ETH_ALEN); | 514 | memcpy(&ap_addr->sa_data, sdata->u.sta.bssid, ETH_ALEN); |
514 | return 0; | 515 | return 0; |
diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index d8c2f9688b25..cfa8fbb0736a 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c | |||
@@ -637,7 +637,7 @@ int ieee80211_ht_agg_queue_add(struct ieee80211_local *local, | |||
637 | #ifdef CONFIG_MAC80211_HT_DEBUG | 637 | #ifdef CONFIG_MAC80211_HT_DEBUG |
638 | if (net_ratelimit()) | 638 | if (net_ratelimit()) |
639 | printk(KERN_DEBUG "allocated aggregation queue" | 639 | printk(KERN_DEBUG "allocated aggregation queue" |
640 | " %d tid %d addr %s pool=0x%lX", | 640 | " %d tid %d addr %s pool=0x%lX\n", |
641 | i, tid, print_mac(mac, sta->addr), | 641 | i, tid, print_mac(mac, sta->addr), |
642 | q->qdisc_pool[0]); | 642 | q->qdisc_pool[0]); |
643 | #endif /* CONFIG_MAC80211_HT_DEBUG */ | 643 | #endif /* CONFIG_MAC80211_HT_DEBUG */ |