Search Linux Wireless

Re: [PATCH 5/7] cfg80211: extend get_channel to take wdev argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Johannes Berg wrote:

  	struct ieee80211_channel *(*get_channel)(struct wiphy *wiphy,
-					       enum nl80211_channel_type *type);
+						 struct wireless_dev *wdev,
+						 enum nl80211_channel_type *type);

Hmm. This is mostly used for monitor mode, and there we would have to
return NULL anyway while using multiple channels at the same time. Is it
really worth the complexity?

Would we really have to return NULL? With my last patch that moves oper_channel to sdata it can return proper channel.

But then monitor mode.. ugh.

Pozdrawiam / Best regards, Michal Kazior.
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux Kernel]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]     [Free Dating]     [M2M Wireless]

Add to Google Powered by Linux