Search Linux Wireless

Re: [PATCH] ath6kl: Store scan request info in-advance before sending SCAN request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/28/2012 04:20 PM, rmani@xxxxxxxxxxxxxxxx wrote:
> From: Raja Mani <rmani@xxxxxxxxxxxxxxxx>
> 
> In current code, Scan request info is recorded in vif->scan_req
> after sending SCAN request to the firmware in ath6kl_cfg80211_scan().
> 
> In some corner cases, firmware sends SCAN_COMPLETE event immediately
> when it receives SCAN request, which internally executes scan
> complete event handler ath6kl_cfg80211_scan_complete_event() first.
> So, Scan completion handler will a get a chance to executed even
> before storing scan request info in ath6kl_cfg80211_scan().
> 
> Scan completion handler never report SCAN_COMPLETE event to
> cfg80211 if scan request info(vif->scan_req) is NULL. This leads
> to scan failure issue ("Device or resource busy error") during
> next SCAN request from the user space. This patch ensures that scan
> request info is stored before sending SCAN request.
> 
> Signed-off-by: Raja Mani <rmani@xxxxxxxxxxxxxxxx>

Thanks, applied.

Kalle
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux