aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorXinming Hu <[email protected]>2016-11-30 20:22:17 +0530
committerKalle Valo <[email protected]>2017-01-12 16:46:23 +0200
commit045f0c1b5e26818e28a401e623a581dfbd6b371e (patch)
treebdd9da44fa6ecade8e362ceefddf8fbde60547bd /tools/perf/scripts/python/net_dropmonitor.py
parent90ff71f9557591218b5fce1ce7b67afd4cf83894 (diff)
mwifiex: get rid of global user_rmmod flag
bus.remove() callback function is called when user removes this module from kernel space or ejects the card from the slot. The driver handles these 2 cases differently. Few commands (FUNC_SHUTDOWN etc.) are sent to the firmware only for module unload case. The variable 'user_rmmod' is used to distinguish between these two scenarios. This patch checks hardware status and get rid of global variable user_rmmod. Signed-off-by: Xinming Hu <[email protected]> Signed-off-by: Amitkumar Karwar <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions