OSDN Git Service

mwifiex: avoid deleting all stations during mwifiex_del_sta_entry()
authorAvinash Patil <patila@marvell.com>
Sat, 18 May 2013 00:50:22 +0000 (17:50 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 May 2013 19:08:53 +0000 (15:08 -0400)
commitbdd4d6bf59c046e5a3d1ac67ba7b1c9ea540b6e3
tree453ed6d168318b9fcd4b29b2138b2ea931bfee95
parent4c1079e1583958b83d7355ccbba686ad08b67015
mwifiex: avoid deleting all stations during mwifiex_del_sta_entry()

During deleting a station entry from associated sta_list, we are
supposed to delete entry only for this particular mac address.
This patch is a bug fix wherein we were deleting all entries from
list; fix this by removing list_for_each_entry_safe() call.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/uap_event.c