diff options
author | David S. Miller <davem@davemloft.net> | 2013-08-20 17:25:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-20 17:25:55 -0700 |
commit | 5c751c9344fce32cebc1c53514644e625a484916 (patch) | |
tree | 9721f3d2a25d9095d1c1c0b82b7aae8e0c049a23 /drivers/net/wireless/iwlwifi/dvm/mac80211.c | |
parent | 8bcdeaff5ed544704a9a691d4aef0adb3f9c5b8f (diff) | |
parent | 22f0d2d1e7e76758f75887e616f2976323f85c26 (diff) | |
download | kernel_goldelico_gta04-5c751c9344fce32cebc1c53514644e625a484916.zip kernel_goldelico_gta04-5c751c9344fce32cebc1c53514644e625a484916.tar.gz kernel_goldelico_gta04-5c751c9344fce32cebc1c53514644e625a484916.tar.bz2 |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
John W. Linville says:
====================
Regarding the iwlwifi bits, Johannes says:
"We revert an rfkill bugfix that unfortunately caused more bugs, shuffle
some code to avoid touching the PCIe device before it's enabled and
disconnect if firmware fails to do our bidding. I also have Stanislaw's
fix to not crash in some channel switch scenarios."
As for the mac80211 bits, Johannes says:
"This time, I have one fix from Dan Carpenter for users of
nl80211hdr_put(), and one fix from myself fixing a regression with the
libertas driver."
Along with the above...
Dan Carpenter fixes some incorrectly placed "address of" operators
in hostap that caused copying of junk data.
Jussi Kivilinna corrects zd1201 to use an allocated buffer rather
than the stack for a URB operation.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/mac80211.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/mac80211.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/mac80211.c b/drivers/net/wireless/iwlwifi/dvm/mac80211.c index 822f1a0..3193872 100644 --- a/drivers/net/wireless/iwlwifi/dvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/dvm/mac80211.c @@ -1068,7 +1068,10 @@ void iwl_chswitch_done(struct iwl_priv *priv, bool is_success) if (test_bit(STATUS_EXIT_PENDING, &priv->status)) return; - if (test_and_clear_bit(STATUS_CHANNEL_SWITCH_PENDING, &priv->status)) + if (!test_and_clear_bit(STATUS_CHANNEL_SWITCH_PENDING, &priv->status)) + return; + + if (ctx->vif) ieee80211_chswitch_done(ctx->vif, is_success); } |