提交 c30a3d38 编写于 作者: M Michal Kazior 提交者: Johannes Berg

cfg80211: track ibss fixed channel

IBSS may hop between channels. It is necessary to
account this special case when considering
interface combinations.
Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 f4489ebe
......@@ -2411,6 +2411,8 @@ struct wireless_dev {
/* for AP and mesh channel tracking */
struct ieee80211_channel *channel;
bool ibss_fixed;
bool ps;
int ps_timeout;
......
......@@ -113,6 +113,7 @@ int __cfg80211_join_ibss(struct cfg80211_registered_device *rdev,
kfree(wdev->connect_keys);
wdev->connect_keys = connkeys;
wdev->ibss_fixed = params->channel_fixed;
#ifdef CONFIG_CFG80211_WEXT
wdev->wext.ibss.channel = params->channel;
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册