pm.c (db8c246937713e60b7628661ccc187eeb81f2bae) pm.c (55de908ab292c03f1eb280f51170ddb9c6b57e31)
1#include <net/mac80211.h>
2#include <net/rtnetlink.h>
3
4#include "ieee80211_i.h"
5#include "mesh.h"
6#include "driver-ops.h"
7#include "led.h"
8

--- 121 unchanged lines hidden (view full) ---

130
131 if (!ieee80211_sdata_running(sdata))
132 continue;
133
134 /* disable beaconing */
135 ieee80211_bss_info_change_notify(sdata,
136 BSS_CHANGED_BEACON_ENABLED);
137
1#include <net/mac80211.h>
2#include <net/rtnetlink.h>
3
4#include "ieee80211_i.h"
5#include "mesh.h"
6#include "driver-ops.h"
7#include "led.h"
8

--- 121 unchanged lines hidden (view full) ---

130
131 if (!ieee80211_sdata_running(sdata))
132 continue;
133
134 /* disable beaconing */
135 ieee80211_bss_info_change_notify(sdata,
136 BSS_CHANGED_BEACON_ENABLED);
137
138 /* the interface is leaving the channel and is removed */
139 ieee80211_vif_release_channel(sdata);
138 drv_remove_interface(local, sdata);
139 }
140
141 sdata = rtnl_dereference(local->monitor_sdata);
142 if (sdata)
143 drv_remove_interface(local, sdata);
144
145 /* stop hardware - this must stop RX */

--- 17 unchanged lines hidden ---
140 drv_remove_interface(local, sdata);
141 }
142
143 sdata = rtnl_dereference(local->monitor_sdata);
144 if (sdata)
145 drv_remove_interface(local, sdata);
146
147 /* stop hardware - this must stop RX */

--- 17 unchanged lines hidden ---