Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

mac80211: fix list_aliases handling (INTERNAL)

commit 37a5502 ("cfg80211: more correct support of multi-essid bss-es")
used the wrong syntax for adding an entry to existing list, causing
memory corruption later on, if the original list was not empty.

Signed-off-by: Eliad Peller <>
  • Loading branch information...
commit a00d9aea46e4126a4f4392d5f3a3ced33061f77a 1 parent 9255c42
@elp elp authored ariknem committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  net/wireless/scan.c
2  net/wireless/scan.c
@@ -709,7 +709,7 @@ cfg80211_bss_insert(struct cfg80211_registered_device *dev,
list_add_tail(&res->list, &dev->bss_list);
if (alias)
- list_add_tail(&alias->list_aliases, &res->list_aliases);
+ list_add_tail(&res->list_aliases, &alias->list_aliases);
rb_insert_bss(dev, res);

0 comments on commit a00d9ae

Please sign in to comment.
Something went wrong with that request. Please try again.