brcmfmac: remove usage of cfg80211_get_chandef_type()
authorArend van Spriel <arend@broadcom.com>
Mon, 12 May 2014 08:47:33 +0000 (10:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2014 19:56:48 +0000 (15:56 -0400)
commita9a56878a7db16f9749030385b00604189a8bc7e
tree876cb22fb804a35472a793cd71a9762149db4b33
parentb8d2e8783991d5aa693fd0b4bc8dd11422a41950
brcmfmac: remove usage of cfg80211_get_chandef_type()

In the .start_ap callback cfg80211_get_chandef_type() was used to
provide debug log info. However, this causes a warning when the
chandef contains VHT channel with 80MHz bandwidth. Avoid the warning
by just printing the channel and bandwidth instead.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c