diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-07-13 15:57:29 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-13 15:57:29 -0400 |
commit | e300d955debdadf599c36e47eb0bc16f5976215c (patch) | |
tree | 8fafcc789dc06e90665e6eee6388af228bbd2fd7 /net/mac80211/main.c | |
parent | 242647bcf8464860f173f3d4d4ab3490d3558518 (diff) | |
parent | 815868e7b5c207ba42d5b317ccc51f8112732268 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts:
drivers/net/wireless/wl12xx/wl1271_cmd.h
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index edf7aff93268..0e95c750ded9 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -637,11 +637,9 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
637 | goto fail_sta_info; | 637 | goto fail_sta_info; |
638 | 638 | ||
639 | result = ieee80211_wep_init(local); | 639 | result = ieee80211_wep_init(local); |
640 | if (result < 0) { | 640 | if (result < 0) |
641 | printk(KERN_DEBUG "%s: Failed to initialize wep: %d\n", | 641 | printk(KERN_DEBUG "%s: Failed to initialize wep: %d\n", |
642 | wiphy_name(local->hw.wiphy), result); | 642 | wiphy_name(local->hw.wiphy), result); |
643 | goto fail_wep; | ||
644 | } | ||
645 | 643 | ||
646 | rtnl_lock(); | 644 | rtnl_lock(); |
647 | 645 | ||
@@ -694,7 +692,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
694 | fail_rate: | 692 | fail_rate: |
695 | rtnl_unlock(); | 693 | rtnl_unlock(); |
696 | ieee80211_wep_free(local); | 694 | ieee80211_wep_free(local); |
697 | fail_wep: | ||
698 | sta_info_stop(local); | 695 | sta_info_stop(local); |
699 | fail_sta_info: | 696 | fail_sta_info: |
700 | destroy_workqueue(local->workqueue); | 697 | destroy_workqueue(local->workqueue); |