Repository navigation
Commit 10b6848
mac80211: flush keys for AP mode on ieee80211_do_stop
Userspace can add keys to an AP mode interface before start_ap has been
called. If there have been no calls to start_ap/stop_ap in the mean
time, the keys will still be around when the interface is brought down.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
[adjust comments, fix AP_VLAN case]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent 805dbe1 commit 10b6848
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
898 | 898 | | |
899 | 899 | | |
900 | 900 | | |
| 901 | + | |
| 902 | + | |
901 | 903 | | |
902 | 904 | | |
903 | 905 | | |
| |||
923 | 925 | | |
924 | 926 | | |
925 | 927 | | |
926 | | - | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
927 | 931 | | |
928 | 932 | | |
929 | 933 | | |
930 | | - | |
| 934 | + | |
931 | 935 | | |
932 | 936 | | |
933 | 937 | | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | 938 | | |
938 | 939 | | |
939 | 940 | | |
| |||
0 commit comments