• Felix Fietkau's avatar
    mac80211: fix ibss join with fixed-bssid · 2e10d330
    Felix Fietkau authored
    When fixed bssid is requested when joining an ibss network, incoming
    beacons that match the configured bssid cause mac80211 to create new
    sta entries, even before the ibss interface is in joined state.
    When that happens, it fails to bring up the interface entirely, because
    it checks for existing sta entries before joining.
    This patch fixes this bug by refusing to create sta info entries before
    the interface is fully operational.
    Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    2e10d330
ibss.c 25.8 KB