mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: arch/microblaze/include/asm/socket.h
This commit is contained in:
commit
aa11d958d1
1599 changed files with 38098 additions and 25849 deletions
|
|
@ -1095,17 +1095,18 @@ static void handle_reg_beacon(struct wiphy *wiphy,
|
|||
|
||||
chan->beacon_found = true;
|
||||
|
||||
if (wiphy->disable_beacon_hints)
|
||||
return;
|
||||
|
||||
chan_before.center_freq = chan->center_freq;
|
||||
chan_before.flags = chan->flags;
|
||||
|
||||
if ((chan->flags & IEEE80211_CHAN_PASSIVE_SCAN) &&
|
||||
!(chan->orig_flags & IEEE80211_CHAN_PASSIVE_SCAN)) {
|
||||
if (chan->flags & IEEE80211_CHAN_PASSIVE_SCAN) {
|
||||
chan->flags &= ~IEEE80211_CHAN_PASSIVE_SCAN;
|
||||
channel_changed = true;
|
||||
}
|
||||
|
||||
if ((chan->flags & IEEE80211_CHAN_NO_IBSS) &&
|
||||
!(chan->orig_flags & IEEE80211_CHAN_NO_IBSS)) {
|
||||
if (chan->flags & IEEE80211_CHAN_NO_IBSS) {
|
||||
chan->flags &= ~IEEE80211_CHAN_NO_IBSS;
|
||||
channel_changed = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ int set_regdom(const struct ieee80211_regdomain *rd);
|
|||
* non-radar 5 GHz channels.
|
||||
*
|
||||
* Drivers do not need to call this, cfg80211 will do it for after a scan
|
||||
* on a newly found BSS.
|
||||
* on a newly found BSS. If you cannot make use of this feature you can
|
||||
* set the wiphy->disable_beacon_hints to true.
|
||||
*/
|
||||
int regulatory_hint_found_beacon(struct wiphy *wiphy,
|
||||
struct ieee80211_channel *beacon_chan,
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ static int cmp_ies(u8 num, u8 *ies1, size_t len1, u8 *ies2, size_t len2)
|
|||
|
||||
if (!ie1 && !ie2)
|
||||
return 0;
|
||||
if (!ie1)
|
||||
if (!ie1 || !ie2)
|
||||
return -1;
|
||||
|
||||
r = memcmp(ie1 + 2, ie2 + 2, min(ie1[1], ie2[1]));
|
||||
|
|
@ -194,6 +194,8 @@ static bool is_mesh(struct cfg80211_bss *a,
|
|||
ie = find_ie(WLAN_EID_MESH_CONFIG,
|
||||
a->information_elements,
|
||||
a->len_information_elements);
|
||||
if (!ie)
|
||||
return false;
|
||||
if (ie[1] != IEEE80211_MESH_CONFIG_LEN)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue