Commit graph

1327 commits

Author SHA1 Message Date
Hauke Mehrtens
7dea39fda2 broadcom-diag: show error message in case something goes wrong with gpio irq
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37668
2013-08-03 17:12:07 +00:00
Hauke Mehrtens
309123bbfd broadcom-diag: add gpio config for Asus RT-N66U
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37667
2013-08-03 17:10:37 +00:00
Hauke Mehrtens
b1b3067a12 broadcom-diag: add gpio config for Linksys E4200v1
GPIO for Linksys E4200v1, tested and works. This closes #13454 and #13894

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37666
2013-08-03 17:09:39 +00:00
Felix Fietkau
18e37d8caf gpio-button-hotplug: cleanup, fix compiler warning
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37665
2013-08-03 11:56:27 +00:00
Felix Fietkau
4281026dda gpio-button-hotplug: fix active_low handling, possibly broken in r37643
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37664
2013-08-03 11:49:50 +00:00
Hauke Mehrtens
d2ed54596d kernel: only add v4l2-compat-ioctl32 when CONFIG_COMPAT is set
SVN-Revision: 37661
2013-08-03 10:10:16 +00:00
Hauke Mehrtens
f43b6b2bea kernel: add missing module to video-core for kernel < 3.6
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37659
2013-08-02 20:08:20 +00:00
Hauke Mehrtens
65ef965e6e kernel: fix usb-chipidea compilation with kernel <= 3.9
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37658
2013-08-02 20:07:11 +00:00
Hauke Mehrtens
58274d68fb broadcom-diag: add support for the ASUS RT-N12
This adds button and led info, which I determined
by manually poking the gpio values.

Signed-off-by: Josh Stone <cuviper@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37655
2013-08-02 15:44:04 +00:00
Hauke Mehrtens
af970e66bf broadcom-diag: increase version number
There are some changes in there and this should be rebuild.

SVN-Revision: 37654
2013-08-02 15:06:14 +00:00
Felix Fietkau
1972a131a0 mac80211: backport a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37653
2013-08-02 10:02:35 +00:00
Hauke Mehrtens
0fe808d032 kernel: load libphy before tg3
SVN-Revision: 37651
2013-08-01 22:19:19 +00:00
Hauke Mehrtens
2b55968f5d brcm47xx: improve detection of Linksys WRTSL54GS
This closes #13319

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37647
2013-08-01 19:33:59 +00:00
John Crispin
1eabf431df gpio-button-hotplug: use gpio_button_get_value() to initialize last_state.
TL-WR720N-v3 has a slider switch composed of 2 GPIO buttons which can be
used to swtich between 3 positions.  At leat 1 button is in pressed state
in any of those positions.  Initialize 'last_state' as 0 (released) will
cause the device to automatically enter failsafe mode on every bootup.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 37643
2013-08-01 14:31:28 +00:00
John Crispin
ef96422920 gpio-button-hotplug: use gpio_button_get_value() to fetch state.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 37642
2013-08-01 14:31:24 +00:00
John Crispin
2c19af6ac5 gpio-button-hotplug: add inline function gpio_button_get_value().
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 37641
2013-08-01 14:31:20 +00:00
Hauke Mehrtens
e77339b9e2 broadcom-wl: fix compile error with kernel 3.10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37626
2013-07-31 17:42:55 +00:00
Felix Fietkau
5bd3f8b164 mac80211: rt2x00: add missing of.h header
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37618
2013-07-29 22:45:57 +00:00
Felix Fietkau
36e6d4ca53 ath9k: fix several issues in the tx queueing rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37616
2013-07-29 19:44:05 +00:00
John Crispin
2b906791be mac80211: rt2x00: fix default register settings for rt5350
Comparing the RTSDK driver and mac80211 revealed, that this register needs
to have a special setup on rt5350.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37608
2013-07-29 13:10:12 +00:00
John Crispin
7f895c6776 mac80211: rt2x00: enable setting wifi led polarity from OF
This patch enables setting the wifi led polarity from OF.
It can be used in a DTS' wmac section like this:

   ralink,led-polarity = <1>;

Valid values are 0 or 1.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37607
2013-07-29 13:09:16 +00:00
Felix Fietkau
1ff304e5f5 rt2x00: merge fix for queue stopping
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37603
2013-07-29 12:49:01 +00:00
Felix Fietkau
c67a12711d mac80211: add support for verbose builds using V=sc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37597
2013-07-29 09:38:08 +00:00
Luka Perkov
181cb9f3fa kernel: add usb-mxs-phy package
SVN-Revision: 37580
2013-07-28 20:34:18 +00:00
Luka Perkov
cc4bda8d67 kernel: update usb-chipidea package
SVN-Revision: 37579
2013-07-28 20:34:17 +00:00
Luka Perkov
769f986d9a kernel: update usb2 package
SVN-Revision: 37578
2013-07-28 20:34:09 +00:00
John Crispin
4176b6fdd3 strict_strtoul is obsolete, use kstrtoul instead
based on http://patchwork.openwrt.org/patch/3827/

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37562
2013-07-27 09:23:18 +00:00
Felix Fietkau
4478c69b86 authsae: adapt uci scripts to use authsae
This patch modifies the uci scripts to be able to
start meshd-nl80211 for encrypted mesh networks,
therefor a new script (authsae.sh) is inserted.

Signed-off-by: Emanuel Taube <emanuel.taube@gmail.com>
[etienne.champetier@free.fr: just update mac80211.sh path]
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 37554
2013-07-26 10:02:59 +00:00
Luka Perkov
aa81b9ed5f kernel: be consistent with formatting style
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37545
2013-07-26 01:09:50 +00:00
John Crispin
3251cddf31 mac8021: add ath9k pcie id for AR9381
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37536
2013-07-25 20:28:45 +00:00
Jonas Gorski
b037b0011e kernel: ebtables depends on bridge
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37520
2013-07-23 19:53:08 +00:00
John Crispin
06a27059bd lantiq: dont build ar10 drivers
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37500
2013-07-22 13:53:01 +00:00
Felix Fietkau
94439c2b5d kernel: add a new global config symbol for enabling rfkill support (can be enabled by default via target feature flag)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37491
2013-07-21 11:55:30 +00:00
Jonas Gorski
11c5730695 kernel: fix config breakage from removing the de4x5 tulip driver
Properly define the config symbol to n so it doesn't break build for
targets which do have it available (e.g. mostly everything except arm).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37489
2013-07-21 11:08:38 +00:00
Felix Fietkau
c493e45058 kernel: fix kmod-crypto-hw-ppc4xx dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37488
2013-07-21 08:20:01 +00:00
Felix Fietkau
2ea287816c kernel: add missing config symbol for the chipidea usb driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37487
2013-07-21 08:19:58 +00:00
Felix Fietkau
4332b7fce5 kernel: remove an exotic ethernet driver from the tulip package which does not build on some platforms
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37486
2013-07-21 08:06:56 +00:00
Gabor Juhos
0494ec45f1 kernel: fix crypto-hw-talitos dependencies
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37485
2013-07-20 20:44:40 +00:00
Felix Fietkau
a0129dfd8e ath9k: add initial tx queueing rework patches
This forces all packets (even for un-aggregated traffic) through
software queues to improve fairness and stability

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37483
2013-07-20 16:37:50 +00:00
Hauke Mehrtens
9ba76039d6 kernel: fix kmod-fs-btrfs dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37466
2013-07-19 23:10:40 +00:00
Hauke Mehrtens
28752830c7 kernel: add fbdev.ko to kmod-fb on x86 dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37460
2013-07-19 22:30:35 +00:00
Hauke Mehrtens
251b414641 kernel: fix kmod-rtc-pcf8563 dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37459
2013-07-19 22:27:31 +00:00
Gabor Juhos
221ddfa19b kernel: package the usbmon module
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37458
2013-07-19 22:19:26 +00:00
Hauke Mehrtens
ddb0804479 kernel: simplify kmod-crypto-misc dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37448
2013-07-19 15:01:22 +00:00
Hauke Mehrtens
4dbc5c64fa kernel: fix kmod-et131x dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37446
2013-07-19 14:53:29 +00:00
Hauke Mehrtens
5920feafda kernel: fix usb-net-asix dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37445
2013-07-19 14:51:15 +00:00
Hauke Mehrtens
0cb97db4be kernel: fix crypto-hw-geode dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37443
2013-07-19 14:46:02 +00:00
Hauke Mehrtens
0256b82631 kernel: fix crypto-hw-padlock dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37442
2013-07-19 14:44:12 +00:00
Hauke Mehrtens
4a9adf4300 kernel: fix syntax error in kmod-crypto-misc
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37441
2013-07-19 14:41:33 +00:00
Felix Fietkau
7642a4eeaa kernel: add missing module for mmc-spi
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37440
2013-07-19 14:13:45 +00:00
Felix Fietkau
85fb0fb29e ltq-deu: add missing dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37439
2013-07-19 14:10:18 +00:00
Hauke Mehrtens
d6e9934924 kernel: fix kmod-usb-chipideai syntax
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37438
2013-07-19 13:35:28 +00:00
Hauke Mehrtens
c12085a578 kernel: fix kmod-usb-chipideai dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37437
2013-07-19 13:23:47 +00:00
Jonas Gorski
29954b9ffc kernel: remove gpio_buttons
It hasn't been buildable for a long time, and there are no users of it
anymore left as all of them have been switched to the upstream accepted
version.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37436
2013-07-19 13:20:41 +00:00
Felix Fietkau
1b5aa23ca2 button-hotplug: add missing dependency on kmod-input-core
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37429
2013-07-19 10:38:48 +00:00
Jo-Philipp Wich
f71d47e58e linux: fix platform dependency of kmod-usb2-fsl
SVN-Revision: 37428
2013-07-19 10:34:40 +00:00
Jo-Philipp Wich
dd61797e96 linux: kmod-ipt-filter depends on kmod-ipt-conntrack
SVN-Revision: 37427
2013-07-19 10:08:26 +00:00
Jonas Gorski
1f59f8ed40 kernel: change ipt depends to a select
Fixes recursive dependencies with kmod-ipt-core.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37426
2013-07-19 09:59:34 +00:00
Jonas Gorski
108b880748 mac80211: add missing dependencies
Add missing dependencies for rt2800-lib and lib80211.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37422
2013-07-19 09:49:04 +00:00
Jonas Gorski
85cf95b73a kernel: video-core depends on i2c-core if i2c-core is selected
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37421
2013-07-18 20:40:17 +00:00
Jonas Gorski
fe1a84ad71 kernel: kmod-gpio-mcp23s08 depends on i2c-core
But only if it is selected, so make it a conditionl dependency.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37420
2013-07-18 20:40:15 +00:00
Jonas Gorski
5e239a0fa4 kernel: kmod-pcmcia-serial requires kmod-serial-8250
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37419
2013-07-18 20:40:13 +00:00
Jonas Gorski
f3755ec53c kernel: kmod-e1000e depends on pip for 3.8+
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37418
2013-07-18 20:40:10 +00:00
Felix Fietkau
eee81c5fbf kernel: net-zd1201 depends on usb-core
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37416
2013-07-18 17:26:43 +00:00
Felix Fietkau
3b985bae1b kernel: fix usb-net-cdc-mbim dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37415
2013-07-18 17:26:39 +00:00
Felix Fietkau
b30b62619c kernel: usb-serial-qualcomm depends on usb-serial-wwan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37414
2013-07-18 17:26:36 +00:00
Felix Fietkau
6fc24f7768 kernel: usb-serial-keyspan needs to include ezusb.ko
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37413
2013-07-18 17:26:32 +00:00
Felix Fietkau
2bc5b4a02a kernel: usb-serial-ipw depends on usb-serial-wwan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37412
2013-07-18 17:26:28 +00:00
Felix Fietkau
225cb7a3d7 kernel: mtdtests depends on nand
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37411
2013-07-18 17:26:24 +00:00
Felix Fietkau
ec5f8304b2 kernel: bluetooth depends on crypto-hash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37410
2013-07-18 17:26:21 +00:00
Felix Fietkau
3dfe4bc893 kernel: rfkill depends on input-core
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37409
2013-07-18 17:26:17 +00:00
Felix Fietkau
9ea4b73748 kernel: split slhc into a separate package and make slip depend on it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37408
2013-07-18 17:26:13 +00:00
Felix Fietkau
b4a847be93 kernel: fix accidental depends line duplication
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37407
2013-07-18 16:49:55 +00:00
Felix Fietkau
f766aa2dee kernel: sctp depends on ipv6 if ipv6 is enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37406
2013-07-18 16:46:11 +00:00
Felix Fietkau
58f50a7dbd kernel: make kmod-sched depend on kmod-ipt-core
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37404
2013-07-18 16:32:12 +00:00
Felix Fietkau
5308e258da kernel: reduce spurious rebuilds of simple kmod-* packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37403
2013-07-18 16:32:07 +00:00
Jo-Philipp Wich
32d810e75a linux: introduce new kmod-iptunnel for Linux 3.10+, add missing dependencies to netsupport packages
SVN-Revision: 37402
2013-07-18 15:47:13 +00:00
Jo-Philipp Wich
44fd7d9626 linux: add missing netfilter dependencies
SVN-Revision: 37401
2013-07-18 15:47:08 +00:00
Jo-Philipp Wich
a5f93fad9d linux: add missing dependency to kmod-i2c-tiny-usb
SVN-Revision: 37399
2013-07-18 13:57:40 +00:00
Jo-Philipp Wich
8500a3fea4 linux: add missing dependencies to kmod-fs-msdos and kmod-fs-xfs
SVN-Revision: 37398
2013-07-18 13:57:36 +00:00
Jonas Gorski
a842efc8cd kernel: btrfs supports raid6 in 3.10, thus depends on lib-raid6
btrfs now supports raid5/6 and added appropriate depenendcies for 3.10.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37396
2013-07-18 13:08:35 +00:00
Jonas Gorski
eaadc5c4f9 kernel: move xor into its own package
xor.ko is needed by btrfs in 3.10+, so split it out into its own
package. Make it hidden as it does not provide any functionality on its
own.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37395
2013-07-18 13:08:33 +00:00
Jonas Gorski
050061a565 kernel: split out lib-raid6
raid_pq.ko is needed by btrfs in 3.10+, so split it out into its own
package. Make it hidden as it does not provide any functionality on its
own.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37394
2013-07-18 13:08:31 +00:00
Jonas Gorski
69de869b0f kernel: kmod-dm depends on crypto
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37393
2013-07-18 13:08:29 +00:00
Jonas Gorski
9a38971a3e kernel: crypto: add missing dependencies and files
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37392
2013-07-18 13:08:27 +00:00
Jonas Gorski
5b931b9ec0 kernel: drop kmod-ata-sis
it was broken since 2.6.21, evidently nobody uses it and we can just
remove it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37391
2013-07-18 13:08:23 +00:00
Jo-Philipp Wich
b44ece50d4 linux: add missing dependencies to kmod-ip6tables
SVN-Revision: 37389
2013-07-18 11:57:19 +00:00
Felix Fietkau
6640b83a3e build: add kernel modules to package provides info (along with shared libs)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37385
2013-07-18 10:47:00 +00:00
Zoltan Herpai
8aa106cf43 imx23: ChipIdea changes
- move ci_hdrc into generic modules
 - add separate package for imx-specific modules

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37384
2013-07-17 22:49:16 +00:00
Felix Fietkau
eb8d23819f ath5k: fix AHB support dependency (#13896)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37377
2013-07-17 13:58:15 +00:00
Luka Perkov
d530ad0732 kernel: add sound-soc-imx-sgtl5000
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37360
2013-07-15 23:18:34 +00:00
Luka Perkov
b3ec189cdb kernel: add sound-soc-imx
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37359
2013-07-15 23:18:33 +00:00
Felix Fietkau
a5e70c13f8 mac80211: fix a crash in legacy minstrel when no STA exists
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37342
2013-07-15 12:35:23 +00:00
John Crispin
3cfa187818 kernel: add usb-dwc2 kmod
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37338
2013-07-15 11:08:04 +00:00
Hauke Mehrtens
13f3c9dbe5 mac80211: b43: load b43 on core rev 17 and 18.
This is now controlled by a module parameter and the default
configuration depends on brcmsmac being installed.
This patch causes b43 to take core rev 17 and 18 always by default.

SVN-Revision: 37307
2013-07-14 14:23:04 +00:00
Hauke Mehrtens
71230b33c1 mac80211: b43: activate LP-Phy support every time
SVN-Revision: 37305
2013-07-14 14:13:32 +00:00
Hauke Mehrtens
a5c0ad6354 brcm47xx: add initial support for kernel 3.10
SVN-Revision: 37287
2013-07-14 13:44:45 +00:00
Hauke Mehrtens
ef0b9be95e brcm47xx: do not load the kernel modules needed for Ethernet manually
add the boot flag to make the kernel modules needed for Ethernet and
diag load on startup.

SVN-Revision: 37284
2013-07-14 12:59:00 +00:00
Hauke Mehrtens
9a5a262324 broadcom-diag: make it work with kernel 3.10
In kernel 3.10 the proc interface changed, this patch adds the changes needed for the new interface.

SVN-Revision: 37280
2013-07-14 11:30:31 +00:00
Hauke Mehrtens
c7370edf98 broadcom-diag: check the correct value for not null.
This also fixes a compile warning.

SVN-Revision: 37279
2013-07-14 11:28:37 +00:00