1. 07 2月, 2012 5 次提交
  2. 31 1月, 2012 7 次提交
  3. 28 1月, 2012 8 次提交
  4. 25 1月, 2012 19 次提交
  5. 19 1月, 2012 1 次提交
    • J
      mac80211: fix work removal on deauth request · bc4934bc
      Johannes Berg 提交于
      When deauth is requested while an auth or assoc
      work item is in progress, we currently delete it
      without regard for any state it might need to
      clean up. Fix it by cleaning up for those items.
      
      In the case Pontus found, the problem manifested
      itself as such:
      
      authenticate with 00:23:69:aa:dd:7b (try 1)
      authenticated
      failed to insert Dummy STA entry for the AP (error -17)
      deauthenticating from 00:23:69:aa:dd:7b by local choice (reason=2)
      
      It could also happen differently if the driver
      uses the tx_sync callback.
      
      We can't just call the ->done() method of the work
      items because that will lock up due to the locking
      in cfg80211. This fix isn't very clean, but that
      seems acceptable since I have patches pending to
      remove this code completely.
      
      Cc: stable@vger.kernel.org
      Reported-by: NPontus Fuchs <pontus.fuchs@gmail.com>
      Tested-by: NPontus Fuchs <pontus.fuchs@gmail.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      bc4934bc