]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2161f1a0bcd3e31f23c5a8a6046b1c6456e4ac3b
tree453ed6d168318b9fcd4b29b2138b2ea931bfee95
parent06e6ada3599bf66869a02f33f39701204ef43657
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