author | Johannes Berg <johannes.berg@intel.com> | |
Sat, 19 Nov 2011 17:56:34 +0000 (19:56 +0200) | ||
committer | Jouni Malinen <j@w1.fi> | |
Sat, 19 Nov 2011 17:56:34 +0000 (19:56 +0200) | ||
commit | 88df0ef74fe7f61b7697115bb2f2f1bedd9c4f4d | |
tree | 6b6d52605157e5ef40257fe4b8b843ed783ad86f | tree | snapshot (tar.xz tar.gz zip) |
parent | 221a59c9b619adaae08e62d3a456cc3ede280aee | commit | diff |
nl80211: Set offchannel-OK selectively
It's not really valid to send off-channel in all cases,
so pass whether it should be allowed or not and don't
set it in the AP case.
Also, to get the right ifindex for hostapd, pass a bss
pointer instead of the drv pointer.
Signed-hostap: Johannes Berg <johannes.berg@intel.com>
It's not really valid to send off-channel in all cases,
so pass whether it should be allowed or not and don't
set it in the AP case.
Also, to get the right ifindex for hostapd, pass a bss
pointer instead of the drv pointer.
Signed-hostap: Johannes Berg <johannes.berg@intel.com>
src/drivers/driver_nl80211.c | diff | blob | history |