Hi, On Tue, Jun 19, 2012 at 11:30 PM, 詹源 <zhanyuan.roger@xxxxxxxxx> wrote: > I want to modify the 802.11 stack code to turn off sw_scanning in STA. > It's just a personal purpose because my STA has no need to connect to > a AP. STA just stays on the operation channel. What are you trying to achieve? Scanning is usually controlled by a userspace process. "Disabling" it as simple as making sure that there are no userspace processes, e.g. wpa_supplicant, NetworkManager, etc. that might initiate a scan. Thanks, -- Julian Calaby Email: julian.calaby@xxxxxxxxx Profile: http://www.google.com/profiles/julian.calaby/ .Plan: http://sites.google.com/site/juliancalaby/ -- 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