brcmsmac: remove brcms_bss_cfg->BSS
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 Mar 2013 00:45:51 +0000 (01:45 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Mar 2013 17:37:34 +0000 (13:37 -0400)
commit45c4f657ce9388921deced415b076d49ed231188
tree5de8746080d6c9e32af2a92b54364dbcb1a71061
parent70268ce280e9e06c002383b1691d97276d8cd1fb
brcmsmac: remove brcms_bss_cfg->BSS

This was a read only member. The checks using BSS are replaced by
better fitting checks of the new type member.

The change in brcms_c_tbtt() was based on code from b43, in
brcms_c_ps_allowed() the same happens with BSS being true or false,
beaconing and probe responses are just needed in ap mode.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/main.c
drivers/net/wireless/brcm80211/brcmsmac/main.h